Skip to content

Commit

Permalink
refs #99 - add ostree web prefix.
Browse files Browse the repository at this point in the history
  • Loading branch information
jortel committed Mar 19, 2015
1 parent f4d2de0 commit 557ba67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion repoauth/pulp/repoauth/oid_validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,6 @@ def _get_repo_url_prefixes_from_config(self, config):
try:
prefixes = config.get('main', 'repo_url_prefixes').split(',')
except NoOptionError:
prefixes = ["/pulp/repos"]
prefixes = ["/pulp/repos", "/pulp/ostree/web"]

return prefixes
2 changes: 1 addition & 1 deletion repoauth/test/test_oid_validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,7 @@ def test_get_repo_url_prefixes_from_config_no_entry(self):
validator = oid_validation.OidValidator(mock_config)
result = validator._get_repo_url_prefixes_from_config(mock_config)

self.assertEquals(result, ["/pulp/repos"])
self.assertEquals(result, ["/pulp/repos", "/pulp/ostree/web"])


# -- test data ---------------------------------------------------------------------
Expand Down

0 comments on commit 557ba67

Please sign in to comment.