summaryrefslogtreecommitdiffstats
path: root/devel/tests/test_rematch_developers.py
blob: 466710417a63329dd99fe10ffd158a180c8e1319 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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()