Skip to content

Commit

Permalink
changes baseurl for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
WolfgangFahl committed Mar 15, 2024
1 parent 7b9adeb commit a856557
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/base_spt_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def setUp(self, debug=False, profile=True):
Basetest.setUp(self, debug=debug, profile=profile)
self.script_path = Path(__file__)
self.base_path = f"{self.script_path.parent.parent}/ceur-ws"
self.base_url = "http://cvb.bitplan.com"
self.base_url = "http://cvb2.bitplan.com"
self.vm = VolumeManager(base_path=self.base_path, base_url=self.base_url)
self.vm.getVolumes()
self.pm = PaperManager(base_url=self.base_url)
Expand Down
4 changes: 3 additions & 1 deletion tests/test_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,11 @@ def test_index(self):
"""
response=self.checkResponse("/index.html", 200)
html=response.text
debug=True
debug=self.debug
#debug=True
if debug:
print(html)
self.assertTrue("<a name='Vol-58'>Vol-58</a>" in html)

def test_read_volume(self):
"""
Expand Down

0 comments on commit a856557

Please sign in to comment.