Skip to content

Commit

Permalink
Fixes failing test
Browse files Browse the repository at this point in the history
Failed test due to flask's move from RFC3986 to https://url.spec.whatwg.org
  • Loading branch information
bdc34 committed Oct 5, 2023
1 parent 26a5db9 commit 1ea91ea
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_browse.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,10 +370,10 @@ def test_long_author_colab(self):

self.assertIsNotNone(
colab['href'], '<a> tag in title should have href')
self.assertEqual(
colab['href'], 'https://arxiv.org/search/physics?searchtype=author&query=ILL%2FESS%2FLiU+collaboration')
self.assertEqual(
colab.text, 'ILL/ESS/LiU collaboration for the development of the B10 detector technology in the framework of the CRISP project')
self.assertRegex(colab['href'],
'search\/physics\?searchtype=author\&query=ILL.ESS.LiU\+collaboration')
self.assertEqual(colab.text,
'ILL/ESS/LiU collaboration for the development of the B10 detector technology in the framework of the CRISP project')

@unittest.skip("In current implementation, conflicts with comma test below.")
def test_space_in_author_list(self):
Expand Down

0 comments on commit 1ea91ea

Please sign in to comment.