Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
tango
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LOFAR2.0
tango
Commits
933d8df2
Commit
933d8df2
authored
3 years ago
by
Taya Snijder
Browse files
Options
Downloads
Patches
Plain Diff
removed old test
parent
5f319882
No related branches found
No related tags found
1 merge request
!288
Resolve L2SS-446 "Extend snmp client to support mib files"
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
tangostationcontrol/tangostationcontrol/test/clients/test_mib_loading.py
+0
-15
0 additions, 15 deletions
...trol/tangostationcontrol/test/clients/test_mib_loading.py
with
0 additions
and
15 deletions
tangostationcontrol/tangostationcontrol/test/clients/test_mib_loading.py
+
0
−
15
View file @
933d8df2
...
...
@@ -16,20 +16,6 @@ class TestMibLoading(base.TestCase):
# mib file is in a folder that is in the same folder as this test
rel_dir
=
"
SNMP_mib_loading
"
def
test_load
(
self
):
""""
This test tests the loading of pymib files.
It does this by trying to load a test pymib file named TEST-MIB.py in /SNMP_pymibs
"""
# if any of this fails the test is considered unsuccessful
abs_dir
=
path
.
dirname
(
__file__
)
+
self
.
rel_dir
loader
=
mib_loader
(
abs_dir
)
loader
.
load_pymib
(
self
.
mib
)
self
.
assertTrue
(
True
)
def
test_content
(
self
):
"""
This file contains a 1 variable named: testNamedValue with oid
"
9.8.7.6.5.4.3.2.1
"
with named values: (
"
A
"
, 1), (
"
B
"
, 2), (
"
C
"
, 3), (
"
D
"
, 4)
...
...
@@ -37,7 +23,6 @@ class TestMibLoading(base.TestCase):
"""
# same as before
abs_dir
=
path
.
dirname
(
__file__
)
+
self
.
rel_dir
loader
=
mib_loader
(
abs_dir
)
loader
.
load_pymib
(
self
.
mib
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment