Skip to content
Snippets Groups Projects
Commit 933d8df2 authored by Taya Snijder's avatar Taya Snijder
Browse files

removed old test

parent 5f319882
No related branches found
No related tags found
1 merge request!288Resolve L2SS-446 "Extend snmp client to support mib files"
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment