devel: Add test for rematch_developers
This commit is contained in:
parent
8dcc8c0a70
commit
d1e272d19b
14
devel/tests/test_rematch_developers.py
Normal file
14
devel/tests/test_rematch_developers.py
Normal file
@ -0,0 +1,14 @@
|
||||
from mock import patch
|
||||
|
||||
|
||||
from django.core.management import call_command
|
||||
from django.test import TransactionTestCase
|
||||
|
||||
|
||||
class RepoReadTest(TransactionTestCase):
|
||||
fixtures = ['main/fixtures/arches.json', 'main/fixtures/repos.json']
|
||||
|
||||
def test_rematch_developers(self):
|
||||
with patch('devel.management.commands.rematch_developers.logger') as logger:
|
||||
call_command('rematch_developers')
|
||||
logger.info.assert_called()
|
Loading…
Reference in New Issue
Block a user