Create tests/unit/test_unit.py
Browse files- tests/unit/test_unit.py +6 -0
tests/unit/test_unit.py
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import pytest
|
2 |
+
from app import postproccess
|
3 |
+
|
4 |
+
def test_postprocess():
|
5 |
+
assert postproccess([]) == ''
|
6 |
+
assert postproccess([{"entity_group": '1'}, {"entity_group": '2'}]) == "1 2"
|