Skip to content

Commit 0fa4edd

Browse files
Bjwebbmichaelwood
authored andcommitted
tests_functional: Update source_url to use the new GitHub repository
This fixes tests run with CUSTOM_SERVER_URL, e.g. https://github.com/OpenDataServices/opendataservices-deploy/actions
1 parent 02c6a70 commit 0fa4edd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cove/cove_360/tests_functional.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def test_explore_360_url_input(server_url, browser, httpserver, source_filename,
164164
httpserver.serve_content(fp.read())
165165
if 'CUSTOM_SERVER_URL' in os.environ:
166166
# Use urls pointing to GitHub if we have a custom (probably non local) server URL
167-
source_url = 'https://raw.githubusercontent.com/OpenDataServices/cove/live/cove_360/fixtures/' + source_filename
167+
source_url = 'https://raw.githubusercontent.com/ThreeSixtyGiving/dataquality/main/cove/cove_360/fixtures/' + source_filename
168168
else:
169169
source_url = httpserver.url + PREFIX_360 + source_filename
170170

@@ -431,7 +431,7 @@ def test_error_modal(server_url, browser, httpserver, source_filename):
431431
httpserver.serve_content(fp.read())
432432
if 'CUSTOM_SERVER_URL' in os.environ:
433433
# Use urls pointing to GitHub if we have a custom (probably non local) server URL
434-
source_url = 'https://raw.githubusercontent.com/OpenDataServices/cove/live/cove_360/fixtures/' + source_filename
434+
source_url = 'https://raw.githubusercontent.com/ThreeSixtyGiving/dataquality/main/cove/cove_360/fixtures/' + source_filename
435435
else:
436436
source_url = httpserver.url + '/' + source_filename
437437

@@ -479,7 +479,7 @@ def test_check_schema_link_on_result_page(server_url, browser, httpserver, sourc
479479
httpserver.serve_content(fp.read())
480480
if 'CUSTOM_SERVER_URL' in os.environ:
481481
# Use urls pointing to GitHub if we have a custom (probably non local) server URL
482-
source_url = 'https://raw.githubusercontent.com/OpenDataServices/cove/live/cove_360/fixtures/' + source_filename
482+
source_url = 'https://raw.githubusercontent.com/ThreeSixtyGiving/dataquality/main/cove/cove_360/fixtures/' + source_filename
483483
else:
484484
source_url = httpserver.url + '/' + source_filename
485485

0 commit comments

Comments
 (0)