示例#1
0
    def test_is_config_mode_false(self):
        # arrange
        input_parser = Mock(command="blueprint")

        # act
        result = BootstrapHelper.is_config_mode(input_parser)

        # assert
        self.assertFalse(result)
示例#2
0
    def test_is_config_mode_true(self):
        # arrange
        input_parser = Mock(command="configure")

        # act
        result = BootstrapHelper.is_config_mode(input_parser)

        # assert
        self.assertTrue(result)