Skip to content

Commit

Permalink
Merge pull request #1203 from consideRatio/pr/ci-builds-asserted-version
Browse files Browse the repository at this point in the history
CI: missed version assertion, retain both with sufficient flex
  • Loading branch information
consideRatio authored Nov 4, 2020
2 parents bf2437d + 6f57706 commit 894a35c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion binderhub/tests/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ async def test_about_handler(app):
r = await async_requests.get(app.url + "/about")
assert r.status_code == 200
assert "This website is powered by" in r.text
assert binder_version.split("+")[0] in r.text


@pytest.mark.remote
Expand All @@ -90,7 +91,7 @@ async def test_versions_handler(app):

data = r.json()
assert data['builder'] == app.build_image
assert data['binderhub'] == binder_version
assert data['binderhub'].split("+")[0] == binder_version.split("+")[0]


@pytest.mark.parametrize(
Expand Down

0 comments on commit 894a35c

Please sign in to comment.