Beispiel #1
0
    def test_action_construction(self):

        self.assertIsInstance(actions.factory("mark", None), tags.Tag)

        self.assertIsInstance(actions.factory("stop", None), ec2.Stop)

        self.assertIsInstance(actions.factory("terminate", None), ec2.Terminate)
Beispiel #2
0
    def test_action_construction(self):

        self.assertIsInstance(actions.factory("mark", None), tags.Tag)

        self.assertIsInstance(actions.factory("stop", None), ec2.Stop)

        self.assertIsInstance(actions.factory("terminate", None),
                              ec2.Terminate)
Beispiel #3
0
    def test_action_construction(self):

        self.assertIsInstance(actions.factory('mark', None), tags.Tag)

        self.assertIsInstance(actions.factory('stop', None), ec2.Stop)

        self.assertIsInstance(actions.factory('terminate', None),
                              ec2.Terminate)
Beispiel #4
0
    def test_action_construction(self):

        self.assertIsInstance(
            actions.factory('mark', None),
            tags.Tag)

        self.assertIsInstance(
            actions.factory('stop', None),
            ec2.Stop)

        self.assertIsInstance(
            actions.factory('terminate', None),
            ec2.Terminate)