Skip to content

Commit

Permalink
fix test and requirements version
Browse files Browse the repository at this point in the history
  • Loading branch information
JDTheRipperPC committed Feb 19, 2020
1 parent 31cbbe6 commit 8ba30b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
'tabulate>=0.8.3,<0.9',
'd3m==2020.1.9',
'datamart-rest==0.2.3',
'gitdb2>=2,<3.0.2',
# 'numpy==1.17.3',
# 'scikit-learn[alldeps]==0.21.3',
# 'Cython==0.29.7',
Expand Down
4 changes: 2 additions & 2 deletions tests/ta3/test_core_servicer.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,14 +155,14 @@ def test_core_servicer_searchsolutions(searcher_mock, pipeline_searcher_mock, de
instance.SearchSolutions(request, None) # context (None) is not used

# wrong problem inputs
request = MagicMock(version='2020.1.28')
request = MagicMock(version='2020.2.11')

with pytest.raises(AssertionError):
instance.SearchSolutions(request, None) # context (None) is not used

# correct parameters
problem = MagicMock(inputs=inputs)
request = MagicMock(version='2020.1.28', inputs=inputs, problem=problem)
request = MagicMock(version='2020.2.11', inputs=inputs, problem=problem)

result = instance.SearchSolutions(request, None) # context (None) is not used

Expand Down

0 comments on commit 8ba30b5

Please sign in to comment.