Esempio n. 1
0
 def setUp(self):
     self.parser = dls_logs_since_release.make_parser()
Esempio n. 2
0
 def setUp(self):
     self.parser = dls_logs_since_release.make_parser()
     parse_error_patch = patch(
         'dls_ade.dls_logs_since_release.ArgParser.error')
     self.addCleanup(parse_error_patch.stop)
     self.mock_error = parse_error_patch.start()
Esempio n. 3
0
    def test_module_name_set(self, parser_mock):

        dls_logs_since_release.make_parser()

        parser_mock.assert_called_once_with()
 def setUp(self):
     self.parser = dls_logs_since_release.make_parser()
     parse_error_patch = patch('dls_ade.dls_logs_since_release.ArgParser.error')
     self.addCleanup(parse_error_patch.stop)
     self.mock_error = parse_error_patch.start()
    def test_module_name_set(self, parser_mock):

        dls_logs_since_release.make_parser()

        parser_mock.assert_called_once_with()
 def setUp(self):
     self.parser = dls_logs_since_release.make_parser()