mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
fixed some issues with the test cases.
This commit is contained in:
parent
1a526ac31e
commit
e528a587cc
@ -399,7 +399,7 @@ class TestMail(TestCase):
|
||||
|
||||
c = Correspondent.objects.get(name="amazon@amazon.de")
|
||||
# should work
|
||||
self.assertEquals(kwargs['override_correspondent_id'], c.id)
|
||||
self.assertEqual(kwargs['override_correspondent_id'], c.id)
|
||||
|
||||
self.async_task.reset_mock()
|
||||
self.reset_bogus_mailbox()
|
||||
@ -411,7 +411,7 @@ class TestMail(TestCase):
|
||||
|
||||
args, kwargs = self.async_task.call_args
|
||||
self.async_task.assert_called_once()
|
||||
self.assertEquals(kwargs['override_correspondent_id'], None)
|
||||
self.assertEqual(kwargs['override_correspondent_id'], None)
|
||||
|
||||
|
||||
def test_filters(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user