Skip to content
Snippets Groups Projects
Commit 1c604c14f0d7 authored by Frank Bessou's avatar Frank Bessou :spider_web:
Browse files

refactor: use isinstance to check eid's type from response

parent aa610db194c8
No related branches found
No related tags found
1 merge request!50fix: mount api on different path depending on configuration
......@@ -171,7 +171,7 @@
assert response["login"] == self.admlogin
assert response["dcTitle"] == self.admlogin
assert type(response["eid"]) == int
assert isinstance(response["eid"], int)
class ApiMountedOnBaseUrlTC(PyramidCWTest):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment