예제 #1
0
    def test_branch_set(self, parser_mock):

        dls_checkout_module.make_parser()

        parser_mock.assert_called_once_with(
            help_msg=
            "Checkout a specific named branch rather than the default (master)"
        )
예제 #2
0
 def setUp(self):
     self.parser = dls_checkout_module.make_parser()
    def test_branch_set(self, parser_mock):

        dls_checkout_module.make_parser()

        parser_mock.assert_called_once_with(
            help_msg="Checkout a specific named branch rather than the default (master)")
 def setUp(self):
     self.parser = dls_checkout_module.make_parser()