def _assert_args(self, tested, expected_no_update_check=False, expected_debug_console=False, expected_path=None): self.assertEqual( (expected_no_update_check, expected_debug_console, expected_path), robotide._parse_args(tested))
def _assert_args(self, tested, expected_no_update_check=False, expected_debug_console=False, expected_path=None): self.assertEqual((expected_no_update_check, expected_debug_console, expected_path), robotide._parse_args(tested))
def test_path_to_data(self): self.assertEqual((False, 'data'), robotide._parse_args(['data']))
def test_no_args(self): self.assertEqual((False, None), robotide._parse_args([]))
def test_noupdatecheck_and_path(self): self.assertEqual((True, 'path'), robotide._parse_args(['--noupdatecheck', 'path']))
def test_noupdatecheck(self): self.assertEqual((True, None), robotide._parse_args(['--noupdatecheck']))