Skip to content

Commit c3c51b7

Browse files
authored
AttributeError
Running test_tech.py gives AttributeError: 'Tech' object has no attribute 'module_data'
1 parent b3b2c73 commit c3c51b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test_tech.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ def test_list_modules(self):
2121
self.assertTrue(result[0])
2222

2323
def test_module_data(self):
24-
result = self._loop.run_until_complete(self._tech.module_data("module_id"))
24+
result = self._loop.run_until_complete(self._tech.get_module_data("module_id"))
2525
zones = json.loads(json.dumps(result))
2626
self.assertTrue("zones" in zones)
2727

2828
def tearDown(self):
2929
self._loop.run_until_complete(self._session.close())
3030

3131
if __name__ == '__main__':
32-
unittest.main()
32+
unittest.main()

0 commit comments

Comments
 (0)