Skip to content
Snippets Groups Projects
Commit a600ddbd authored by DarkLynx32's avatar DarkLynx32
Browse files

Added new requirement, changed "\t" separated back to " "

parent 40713553
No related branches found
No related tags found
Loading
Checking pipeline status
...@@ -19,3 +19,4 @@ pytest==6.2.2 ...@@ -19,3 +19,4 @@ pytest==6.2.2
protobuf==3.15.6 protobuf==3.15.6
grpcio==1.36.1 grpcio==1.36.1
pytest-cov==2.11.1 pytest-cov==2.11.1
termcolor==1.1.0
...@@ -4,6 +4,6 @@ from src.utils.helperFunctions import lineToVector ...@@ -4,6 +4,6 @@ from src.utils.helperFunctions import lineToVector
class TestHelperFunctions: class TestHelperFunctions:
def test_lineToVector(self): def test_lineToVector(self):
input = 'testword\t1.0\t1.2\t3.4\t5.2' input = 'testword 1.0 1.2 3.4 5.2'
output = ('testword', [1.0, 1.2, 3.4, 5.2]) output = ('testword', [1.0, 1.2, 3.4, 5.2])
assert lineToVector(input) == output assert lineToVector(input) == output
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment