diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2023-10-05 15:36:04 +0300 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2023-10-05 15:36:04 +0300 |
commit | 0a72e50c900c97b8736ba2fb1b00badfaedd242a (patch) | |
tree | d9b7dcfbf8c27a9aa46cb0e222cd53ba28956fe9 /core/TESTS/test_parsers.py | |
parent | 207513b8b5a641d94123fa48013f9e3b6aff24a9 (diff) | |
download | troggle-0a72e50c900c97b8736ba2fb1b00badfaedd242a.tar.gz troggle-0a72e50c900c97b8736ba2fb1b00badfaedd242a.tar.bz2 troggle-0a72e50c900c97b8736ba2fb1b00badfaedd242a.zip |
tests now do all work, honest
Diffstat (limited to 'core/TESTS/test_parsers.py')
-rw-r--r-- | core/TESTS/test_parsers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/TESTS/test_parsers.py b/core/TESTS/test_parsers.py index 1fd46b0..8274f89 100644 --- a/core/TESTS/test_parsers.py +++ b/core/TESTS/test_parsers.py @@ -208,7 +208,7 @@ class ImportTest(TestCase): content = response.content.decode() # with open('_test_response.html', 'w') as f: # f.write(content) - ph = f"<td><a href=\"/personexpedition/FredSmartarse/{TEST_YEAR}\">{TEST_YEAR}</a></td>" + ph = f"<td><a href=\"/personexpedition/fred-smartarse/{TEST_YEAR}\">{TEST_YEAR}</a></td>" phmatch = re.search(ph, content) self.assertIsNotNone(phmatch, "Failed to find expected text: '" + ph + "'")
\ No newline at end of file |