From c249cf7c602ecc590134fb456ba66134416ba3c9 Mon Sep 17 00:00:00 2001 From: FreneticScribbler Date: Wed, 4 Dec 2019 20:47:26 +0000 Subject: [PATCH] CHORE: Fix RIGS Sample Data test I blame @mattysmith22 again ... --- RIGS/test_unit.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RIGS/test_unit.py b/RIGS/test_unit.py index 4a020292..0a360a10 100644 --- a/RIGS/test_unit.py +++ b/RIGS/test_unit.py @@ -414,7 +414,7 @@ class TestSampleDataGenerator(TestCase): @override_settings(DEBUG=True) def test_generate_sample_data(self): # Run the management command and check there are no exceptions - call_command('generateSampleData') + call_command('generateSampleRIGSData') # Check there are lots of events self.assertTrue(models.Event.objects.all().count() > 100) @@ -422,4 +422,4 @@ class TestSampleDataGenerator(TestCase): def test_production_exception(self): from django.core.management.base import CommandError - self.assertRaisesRegex(CommandError, ".*production", call_command, 'generateSampleData') + self.assertRaisesRegex(CommandError, ".*production", call_command, 'generateSampleRIGSData')