Skip to content

Commit 153e53b

Browse files
committed
test: assert on integer response instead of actual values
1 parent 34c9682 commit 153e53b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/functional/api/test_statistics.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def test_get_statistics(gl):
2424
)
2525

2626
statistics = gl.statistics.get()
27-
assert statistics.snippets == "1"
28-
assert statistics.users == "1"
29-
assert statistics.groups == "2"
30-
assert statistics.projects == "1"
27+
assert statistics.snippets.isdigit() == True
28+
assert statistics.users.isdigit() == True
29+
assert statistics.groups.isdigit() == True
30+
assert statistics.projects.isdigit() == True

0 commit comments

Comments
 (0)