@@ -0,0 +1,467 @@
+%0Afrom django.test import TestCase%0Afrom myhpom.models import State%0A%0A%0Aclass StateModelTestCase(TestCase):%0A    %22%22%22%0A    * State.objects.all() returns supported states first%0A    %22%22%22%0A%0A    def test_supported_states_first(self):%0A        states = State.objects.all()%0A        supported_states = %5Bstate for state in states if state.supported == True%5D%0A        assert (%0A            supported_states == states%5B: len(supported_states)%5D%0A        ), %22supported states should be first%22%0A

test State model