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
1defa474
Commit
1defa474
authored
1 year ago
by
Christopher Randolph Rhodes
Browse files
Options
Downloads
Patches
Plain Diff
Cleaned up test
parent
ed7f876f
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
model_server/session.py
+2
-2
2 additions, 2 deletions
model_server/session.py
tests/test_api.py
+0
-4
0 additions, 4 deletions
tests/test_api.py
with
2 additions
and
6 deletions
model_server/session.py
+
2
−
2
View file @
1defa474
...
...
@@ -79,8 +79,8 @@ class Session(object):
Write an event string to this session
'
s log file.
"""
timestamp
=
strftime
(
'
%m/%d/%Y, %H:%M:%S
'
,
localtime
())
with
open
(
self
.
session_log
,
'
w+
'
)
as
fh
:
fh
.
write
(
f
'
{
timestamp
}
--
{
event
}
'
)
with
open
(
self
.
session_log
,
'
a
'
)
as
fh
:
fh
.
write
(
f
'
{
timestamp
}
--
{
event
}
\n
'
)
def
record_workflow_run
(
self
,
record
:
WorkflowRunRecord
or
None
):
"""
...
...
This diff is collapsed.
Click to expand it.
tests/test_api.py
+
0
−
4
View file @
1defa474
...
...
@@ -55,10 +55,6 @@ class TestApiFromAutomatedClient(TestServerBaseClass):
suffix
=
Path
(
conf
.
defaults
.
subdirectories
[
p
]).
__str__
()
self
.
assertTrue
(
resp
.
json
()[
p
].
endswith
(
suffix
))
def
test_restart_with_new_root_directory
(
self
):
pass
# TODO: implement
def
test_list_empty_loaded_models
(
self
):
resp
=
requests
.
get
(
self
.
uri
+
'
models
'
)
self
.
assertEqual
(
resp
.
status_code
,
200
)
...
...
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