diff options
Diffstat (limited to 'tests/samplebinding/objecttypeoperators_test.py')
-rw-r--r-- | tests/samplebinding/objecttypeoperators_test.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/samplebinding/objecttypeoperators_test.py b/tests/samplebinding/objecttypeoperators_test.py index 148bc3591..71e5a5d40 100644 --- a/tests/samplebinding/objecttypeoperators_test.py +++ b/tests/samplebinding/objecttypeoperators_test.py @@ -47,6 +47,9 @@ class ObjectTypeOperatorsTest(unittest.TestCase): self.assertEqual("a", a) self.assertEqual(a, "a") + def testOperatorInjection(self): + a = ObjectTypeOperators("a") + self.assertNotEqual(a, "b") if __name__ == '__main__': unittest.main() |