15 lines
350 B
Python
15 lines
350 B
Python
import unittest
|
|
from unittest.mock import patch
|
|
|
|
from dse_shared_libs.mock.response import MyResponse
|
|
|
|
from orchestrator import Orchestrator
|
|
|
|
|
|
class TestOrchestrator(unittest.TestCase):
|
|
def setUp(self) -> None:
|
|
with patch('requests.sessions.Session.get', MyResponse):
|
|
self.orc = Orchestrator()
|
|
|
|
def test(self):
|
|
... |