disk0dancer commited on
Commit
188e792
·
verified ·
1 Parent(s): e24c75e

Create tests/unit/test_unit.py

Browse files
Files changed (1) hide show
  1. 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"