2018-08-12 10:05:21 -07:00
|
|
|
from mock import patch
|
|
|
|
|
|
|
|
|
|
|
|
from django.core.management import call_command
|
|
|
|
from django.test import TransactionTestCase
|
|
|
|
|
|
|
|
|
2018-11-30 12:03:03 -08:00
|
|
|
class RematchDeveloperTest(TransactionTestCase):
|
2018-08-12 10:05:21 -07:00
|
|
|
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()
|