Skip to content

Commit

Permalink
Merge pull request #5604 from freedomofpress/fix_5603_functional_meta…
Browse files Browse the repository at this point in the history
…tdata_for_focal

Server OS can be 16.04 or 20.04
  • Loading branch information
rmol authored Oct 29, 2020
2 parents 6117fcc + a36821a commit 8c86e8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion securedrop/tests/functional/source_navigation_steps.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def _source_visits_source_homepage(self):
def _source_checks_instance_metadata(self):
self.driver.get(self.source_location + "/metadata")
j = json.loads(self.driver.find_element_by_tag_name("body").text)
assert j["server_os"] == "16.04"
assert j["server_os"] in ["16.04", "20.04"]
assert j["sd_version"] == self.source_app.jinja_env.globals["version"]
assert j["gpg_fpr"] != ""

Expand Down

0 comments on commit 8c86e8e

Please sign in to comment.