def test_match_with_boolean_value(self):
        """Expected no results. """

        find = ModelOne.get_model_one_by_boolean_value(True)
        assert_equals(len(find), 0)
Exemplo n.º 2
0
    def test_match_with_boolean_value(self):
        """Expected no results. """

        find = ModelOne.get_model_one_by_boolean_value(True)
        assert_equals(len(find), 0)
Exemplo n.º 3
0
    def test_match_with_boolean_value(self):
        "Should be match boolean with ModelOne value """

        find = ModelOne.get_model_one_by_boolean_value(True)
        assert_equals(len(find), 1)
        assert_equals(find[0].id, self.obj1_id)
Exemplo n.º 4
0
    def test_match_with_boolean_value(self):
        "Should be match boolean with ModelOne value " ""

        find = ModelOne.get_model_one_by_boolean_value(True)
        assert_equals(len(find), 1)
        assert_equals(find[0].id, self.obj1_id)