예제 #1
0
    def test_the_test(self):
        """Empty tests what it says on the tin"""
        e = Empty()

        self.assertTrue(e.matches([]))
        self.assertFalse(e.matches(["not", "empty"]))
예제 #2
0
    def test_the_test(self):
        """Empty tests what it says on the tin"""
        e = Empty()

        assert e.matches([])
        assert not e.matches(["not", "empty"])