def test_check_for_uncommitted_with_changes(self, os, check_call, check_output): check_output.return_value = "' M opal/tests/test_core_commandline.py\n'" self.assertEqual(41, commandline.check_for_uncommitted())
def test_check_for_uncommitted_with_changes(self, os, check_call, check_output): check_output.return_value = "' M opal/tests/test_core_commandline.py\n'" self.assertEqual(41, commandline.check_for_uncommitted())
def test_check_for_uncommitted(self, os, check_call, check_output): check_output.return_value = "" self.assertEqual(0, commandline.check_for_uncommitted())
def test_check_for_uncommitted(self, os, check_call, check_output): check_output.return_value = "" self.assertEqual(0, commandline.check_for_uncommitted())