tests: add test loading custom makemessages command
This commit is contained in:
parent
f78d10fd8f
commit
1576b3c0b6
|
@ -497,3 +497,9 @@ def test_dbshell(sql_pub):
|
|||
call_command('dbshell', '--domain', 'example.net')
|
||||
assert call.call_args[0][-1][0] == 'psql'
|
||||
assert call.call_args[0][-1][-1] == sql_pub.cfg['postgresql']['database']
|
||||
|
||||
|
||||
def test_makemessages(pub):
|
||||
# just make sure it loads correctly
|
||||
with pytest.raises(SystemExit):
|
||||
call_command('makemessages', '--help')
|
||||
|
|
Loading…
Reference in New Issue