diff options
Diffstat (limited to 'ishtar_common/tests.py')
-rw-r--r-- | ishtar_common/tests.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ishtar_common/tests.py b/ishtar_common/tests.py index d15675769..e7e665a6f 100644 --- a/ishtar_common/tests.py +++ b/ishtar_common/tests.py @@ -271,8 +271,9 @@ class CommandsTestCase(TestCase): ) parcel_nb = Parcel.objects.count() out = StringIO() - call_command("clean_ishtar", stdout=out) - # no operation or file attached - the parcel should have disappear + call_command("ishtar_maintenance", "fix_missing_parcels", "--clean", "--test", + stdout=out) + # no operation or file attached - the parcel should have disappeared self.assertEqual(parcel_nb - 1, Parcel.objects.count()) self.assertEqual(Parcel.objects.filter(pk=p.pk).count(), 0) |