plugged up some testing holes with explicit placeholder urls in views and unit tests; most tests now pass
This commit is contained in:
@@ -60,7 +60,7 @@ class NewVisitorTest(LiveServerTestCase):
|
||||
self.wait_for_row_in_list_table('1. Buy peacock feathers')
|
||||
|
||||
edith_dash_url = self.browser.current_url
|
||||
self.assertRegex(edith_dash_url, '/dashboard/.+')
|
||||
self.assertRegex(edith_dash_url, '/apps/dashboard/.+')
|
||||
|
||||
self.browser.delete_all_cookies()
|
||||
|
||||
@@ -74,7 +74,7 @@ class NewVisitorTest(LiveServerTestCase):
|
||||
self.wait_for_row_in_list_table('1. Buy milk')
|
||||
|
||||
francis_dash_url = self.browser.current_url
|
||||
self.assertRegex(francis_dash_url, '/dashboard/.+')
|
||||
self.assertRegex(francis_dash_url, '/apps/dashboard/.+')
|
||||
self.assertNotEqual(francis_dash_url, edith_dash_url)
|
||||
|
||||
page_text = self.browser.find_element(By.TAG_NAME, 'body').text
|
||||
|
||||
Reference in New Issue
Block a user