summaryrefslogtreecommitdiff
path: root/wrappers/python/tests.py
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2022-09-27 13:24:40 +0200
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2022-09-27 13:24:40 +0200
commit010a9ce99fd7f17ece9d7b804c9b5f3ab30a2bed (patch)
tree68930f2b7799efd25218c0041a7052936eaef265 /wrappers/python/tests.py
parent0821d017eb4b640aa6668724de799d3b83354b83 (diff)
Python: Capitalize StateType enum values
Diffstat (limited to 'wrappers/python/tests.py')
-rw-r--r--wrappers/python/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wrappers/python/tests.py b/wrappers/python/tests.py
index 679eda0..4e45fbc 100644
--- a/wrappers/python/tests.py
+++ b/wrappers/python/tests.py
@@ -22,7 +22,7 @@ class ConfigTests(unittest.TestCase):
# This can throw an exception
_eduvpn.register()
- @_eduvpn.event.on(State.OAUTH_STARTED, StateType.Enter)
+ @_eduvpn.event.on(State.OAUTH_STARTED, StateType.ENTER)
def oauth_initialized(old_state, url_json):
login_eduvpn(url_json)