mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-24 07:52:14 +03:00
13 lines
289 B
Python
13 lines
289 B
Python
#!/usr/bin/env python3
|
|
|
|
import pytest
|
|
|
|
class TestServerVersion(object):
|
|
|
|
def test_version(self, hge_ctx):
|
|
resp = hge_ctx.http.get(
|
|
hge_ctx.hge_url + '/v1/version'
|
|
)
|
|
my_json = resp.json()
|
|
assert my_json['version'] == hge_ctx.version, my_json
|