Пример #1
0
 def test_not_equal(self):
     predicate = is_not_equal_to("this", "value-1")
     self.assertEqual(str(predicate),
                      "NotEqualPredicate(attribute='this', value=value-1)")
 def test_not_equal(self):
     predicate = is_not_equal_to("this", "value-1")
     self.assertEqual(str(predicate), "NotEqualPredicate(attribute='this', value=value-1)")
Пример #3
0
    def test_not_equal(self):
        self._fill_map(count=3)
        predicate = is_not_equal_to("this", "value-1")

        self.assertItemsEqual(self.map.key_set(predicate), ["key-0", "key-2"])
    def test_not_equal(self):
        self._fill_map(count=3)
        predicate = is_not_equal_to("this", "value-1")

        self.assertItemsEqual(self.map.key_set(predicate), ["key-0", "key-2"])