def test_calling_command(self):
        call_command('sampledatafiller', interactive=False)

        self.assertEqual(models.TestRelatedModel.objects.all().count(), 10)
        self.assertEqual(models.TestModel.objects.all().count(), 5)

        test_instance = models.TestModel.objects.all()[0]
        self.assertEqual(test_instance.integer, test_instance.small_integer*2)
        self.assertEqual(test_instance.positive_integer, 8)
        self.assertTrue(1 >= test_instance.small_integer and test_instance.small_integer <= 10)
dataset/ETHPy150Open kaleidos/django-sampledatahelper/tests/tests.py/TestSampleDataHelperCommand.test_calling_command/swapped operands of `>=`