@pytest.mark.cmd
@pytest.mark.django_db
def test_sync_stores_noargs(capfd, project0, project1):
 project0.delete()
 project1.delete()
 capfd.readouterr()
 call_command('sync_stores')
 (out, err) = capfd.readouterr()
 assert (out == '')
 assert (err == '')

@ pytest . mark . cmd @ pytest . mark . django_db def test_sync_stores_noargs ( capfd , project0 , project1 ) : project0 . delete ( ) project1 . delete ( ) capfd . readouterr ( ) call_command ( 'sync_stores' ) ( out , err ) = capfd . readouterr ( ) assert ( out == '' ) assert ( err == '' )
site wide sync_stores .