Skip to content
This repository has been archived by the owner on Dec 17, 2021. It is now read-only.

fix: broken MIB translation unit tests #34

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
2 changes: 1 addition & 1 deletion tests/test_translator.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def setUpClass(cls):

@mongomock.patch()
def setUp(self):
with open("./config.yaml", "r") as yamlfile:
with open("../config.yaml", "r") as yamlfile:
server_config = yaml.load(yamlfile, Loader=yaml.FullLoader)
server_config["snmp"]["mibs"]["dir"] = "../mibs/pysnmp"
self.my_translator = Translator(server_config)
Expand Down