Skip to content

Commit 119ec94

Browse files
committed
tests: don't hardcode build id in NotificationBackendTests.test_email_backend
Fixes running this test against postgresql
1 parent 285c7f8 commit 119ec94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readthedocs/rtd_tests/tests/test_notifications.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ class TestNotification(Notification):
8080
request=mock.ANY,
8181
template='core/email/common.txt',
8282
context={'content': 'Test'},
83-
subject=u'This is 1',
83+
subject=u'This is {}'.format(build.id),
8484
template_html='core/email/common.html',
8585
recipient=user.email,
8686
)

0 commit comments

Comments
 (0)