15 lines
351 B
Python
15 lines
351 B
Python
__author__ = 'RemiZOffAlex'
|
|
__email__ = 'remizoffalex@mail.ru'
|
|
|
|
import unittest
|
|
|
|
from nucleus.response.common import Response
|
|
from nucleus.response.stream import ResponseStream
|
|
|
|
|
|
class TestResponse(unittest.TestCase):
|
|
def test_response(self):
|
|
response = Response('ok')
|
|
for item in ResponseStream(response):
|
|
print(item)
|