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