Try and fix a flaky test
Same case as with #2496, for some reason the URL to the cover just ends with `test.jpg`
This commit is contained in:
parent
499aace9fb
commit
824d4207dc
1 changed files with 1 additions and 1 deletions
|
@ -265,7 +265,7 @@ class Status(TestCase):
|
||||||
self.assertEqual(activity["attachment"][0]["type"], "Document")
|
self.assertEqual(activity["attachment"][0]["type"], "Document")
|
||||||
self.assertTrue(
|
self.assertTrue(
|
||||||
re.match(
|
re.match(
|
||||||
r"https:\/\/your.domain.here\/images\/covers\/test_[A-z0-9]+.jpg",
|
r"https:\/\/your.domain.here\/images\/covers\/test(_[A-z0-9]+)?.jpg",
|
||||||
activity["attachment"][0]["url"],
|
activity["attachment"][0]["url"],
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue