Skip to content

Commit 1edb330

Browse files
authored
Fastapi ci fixtures (#115)
* added fastAPI tests to all algorithm tests * added fastAPI tests to all client test cases * fixed test fixtures * added 2/3 switch for conftest, and added back env var gets for python 2 tests * migrated run algo test from CLI main test suite to dummy test suite * added 2 second wait for start of process
1 parent 056ef1c commit 1edb330

File tree

7 files changed

+1067
-505
lines changed

7 files changed

+1067
-505
lines changed

Algorithmia/algorithm.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,6 @@ def update(self, details={}, settings={}, version_info={}):
6969

7070
# Publish an algorithm
7171
def publish(self, details={}, settings={}, version_info={}):
72-
# detailsObj = Details(**details)
73-
# settingsObj = SettingsPublish(**settings)
74-
# versionRequestObj = VersionInfoPublish(**version_info)
75-
# publish_parameters = {"details": detailsObj, "settings": settingsObj, "version_info": versionRequestObj}
76-
# version_request = VersionRequest(**publish_parameters) # VersionRequest | Publish Version Request
7772
publish_parameters = {"details": details, "settings": settings, "version_info": version_info}
7873
url = "/v1/algorithms/"+self.username+"/"+self.algoname + "/versions"
7974
print(publish_parameters)

0 commit comments

Comments
 (0)