Beispiel #1
0
 def handle(self, *args, **options):
     verbose = (int(options.get('verbosity', 1)) >= 1)
     purge_data(verbose=verbose)
Beispiel #2
0
 def test_purge_data_generates_journal_record(self):
     purge_data()
     assert Record.objects.filter(action='purge_data').count() == 1