Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SVLT
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ALMF
SVLT
Commits
6a0505a4
Commit
6a0505a4
authored
4 months ago
by
Christopher Randolph Rhodes
Browse files
Options
Downloads
Patches
Plain Diff
Outdated test
parent
dae64e30
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/base/test_api.py
+4
-11
4 additions, 11 deletions
tests/base/test_api.py
with
4 additions
and
11 deletions
tests/base/test_api.py
+
4
−
11
View file @
6a0505a4
...
...
@@ -43,16 +43,6 @@ class TestApiFromAutomatedClient(TestServerBaseClass):
self
.
assertEqual
(
rl
[
mid
][
'
class
'
],
'
DummyInstanceSegmentationModel
'
)
return
mid
def
test_respond_with_error_when_invalid_filepath_requested
(
self
):
self
.
assertPutFailure
(
f
'
infer/from_image_file
'
,
404
,
query
=
{
'
model_id
'
:
self
.
test_load_dummy_semantic_model
(),
'
input_filename
'
:
'
not_a_real_file.name
'
,
}
)
def
test_pipeline_errors_when_ids_not_found
(
self
):
fname
=
self
.
copy_input_file_to_server
()
model_id
=
self
.
assertPutSuccess
(
f
'
testing/models/dummy_semantic/load
'
)[
'
model_id
'
]
...
...
@@ -188,4 +178,7 @@ class TestApiFromAutomatedClient(TestServerBaseClass):
mid
=
self
.
assertPutSuccess
(
'
/models/seg/binary_threshold/load/
'
,
body
=
{
'
channel
'
:
0
,
'
tr
'
:
10
}
)[
'
model_id
'
]
return
mid
\ No newline at end of file
return
mid
def
test_use_binary_segmentation_model
(
self
):
self
.
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment