mirror of
https://github.com/boostorg/website-v2.git
synced 2026-02-27 05:32:08 +00:00
- Added ListView and DetailView - Move to pytest style tests - Fix migrations to be clean to rebuild and throw away existing data - Add model_bakery
8 lines
209 B
Python
8 lines
209 B
Python
def test_version_list(version, tp):
|
|
res = tp.get("version-list")
|
|
tp.response_200(res)
|
|
print(res.context)
|
|
objs = res.context["version_list"]
|
|
assert len(objs) == 1
|
|
assert version in objs
|