17 lines
464 B
Python
17 lines
464 B
Python
# -*- coding: utf-8 -*-
|
|
"""
|
|
This program has been developed by students from the bachelor Computer Science at Utrecht
|
|
University within the Software Project course.
|
|
© Copyright Utrecht University (Department of Information and Computing Sciences)
|
|
"""
|
|
|
|
from mock import patch, MagicMock
|
|
|
|
import pytest
|
|
|
|
|
|
@pytest.fixture(autouse=True)
|
|
def mock_zmq_context():
|
|
with patch("zmq.Context") as mock:
|
|
mock.instance.return_value = MagicMock()
|
|
yield mock |