Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Jelle van der Waa
Archweb
Commits
d1e272d1
Commit
d1e272d1
authored
Aug 12, 2018
by
Jelle van der Waa
🚧
Browse files
devel: Add test for rematch_developers
parent
8dcc8c0a
Changes
1
Hide whitespace changes
Inline
Side-by-side
devel/tests/test_rematch_developers.py
0 → 100644
View file @
d1e272d1
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
()
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment