def test_is_valid_for_none_null(self): self.assertTrue(AllocationRequest.is_valid_for_code('00'))
def test_is_valid_for_null(self): self.assertFalse(AllocationRequest.is_valid_for_code(None))