Skip to content

Commit

Permalink
add mock api endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Ximinhan committed Jun 20, 2024
1 parent 3a3a681 commit 132e08d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion errata_tool/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def _fixture(self):
"""Return path to our static fixture file. """
fdir = os.path.join(FIXTURES_DIR, 'errata.devel.redhat.com/')
filename = self._url_with_params.replace(
'https://errata.devel.redhat.com/', fdir)
'https://errata.devel.redhat.com/', fdir).replace('https://errata.stage.engineering.redhat.com/', fdir)
# If we need to represent this API endpoint as both a directory and a
# file, check for a ".body" file.
if os.path.isdir(filename):
Expand Down

0 comments on commit 132e08d

Please sign in to comment.