Пример #1
0
    def test_can_be_instantiated(self):
        """Click can be instantiated"""
        c1 = Click.on(None)
        c2 = Click.on_the(None)

        assert isinstance(c1, Click)
        assert isinstance(c2, Click)
Пример #2
0
    def test_can_be_instantiated(self):
        """Click can be instantiated"""
        c1 = Click.on(None)
        c2 = Click.on_the(None)
        c3 = Click.on_the(None).then_wait_for(None)

        self.assertIsInstance(c1, Click)
        self.assertIsInstance(c2, Click)
        self.assertIsInstance(c3, Click)