diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-05-13 16:08:32 +0200 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-05-13 16:08:32 +0200 |
| commit | 4d2f93fa46adc037f1237ebd35e3faafb4a7759a (patch) | |
| tree | 5ae0c3aacf99a6c6be9d9f754bfa4d1eef584b97 /wrappers/python/tests.py | |
| parent | 5abf00ab87a55662eefc7716de52ead9749293c6 (diff) | |
Python + Go: Run formatter
Diffstat (limited to 'wrappers/python/tests.py')
| -rw-r--r-- | wrappers/python/tests.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/wrappers/python/tests.py b/wrappers/python/tests.py index 60ed79e..7f17ef6 100644 --- a/wrappers/python/tests.py +++ b/wrappers/python/tests.py @@ -7,15 +7,19 @@ import sys import os # Import project root directory where the selenium python utility is -sys.path.append(os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))) +sys.path.append( + os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) +) from selenium_eduvpn import login_eduvpn + class ConfigTests(unittest.TestCase): def testConfig(self): _eduvpn = eduvpn.EduVPN("org.eduvpn.app.linux", "testconfigs") # This can throw an exception _eduvpn.register() + @_eduvpn.event.on("OAuth_Started", eduvpn.StateType.Enter) def oauth_initialized(old_state, url): login_eduvpn(url) @@ -41,5 +45,6 @@ class ConfigTests(unittest.TestCase): return self.fail("No exception thrown on second register") + if __name__ == "__main__": unittest.main() |
