예제 #1
0
 def test_constructor_no_config(self):
     with pytest.raises(CoprBackendError):
         self.be = CoprBackend(None, self.ext_opts)
예제 #2
0
 def init_be(self):
     self.be = CoprBackend(self.config_file, self.ext_opts)
     self.be.log = MagicMock()