Beispiel #1
0
    def test_can_be_instantiated(self):
        """Open can be instantiated"""
        o1 = Open.browser_on(None)
        o2 = Open.their_browser_on(None)

        assert isinstance(o1, Open)
        assert isinstance(o2, Open)
Beispiel #2
0
    def test_can_be_instantiated(self):
        """Open can be instantiated"""
        o1 = Open.browser_on(None)
        o2 = Open.their_browser_on(None)
        o3 = Opens.browser_on(None)

        self.assertIsInstance(o1, Open)
        self.assertIsInstance(o2, Open)
        self.assertIsInstance(o3, Open)
Beispiel #3
0
 def perform_as(self, actor):
     actor.attempts_to(Open.browser_on(self.location))