Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
beat.web
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
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
beat
beat.web
Commits
9bab5664
Commit
9bab5664
authored
4 years ago
by
Samuel GAIST
Committed by
Flavio TARSETTI
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[experiments][tests] Pre-commit cleanup
parent
2a2712be
No related branches found
No related tags found
2 merge requests
!353
Cleanup experiments
,
!342
Django 3 migration
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
beat/web/experiments/tests/tests_api.py
+10
-17
10 additions, 17 deletions
beat/web/experiments/tests/tests_api.py
with
10 additions
and
17 deletions
beat/web/experiments/tests/tests_api.py
+
10
−
17
View file @
9bab5664
...
...
@@ -25,37 +25,30 @@
# #
###############################################################################
import
copy
import
os
import
simplejson
as
json
import
shutil
import
copy
from
datetime
import
datetime
from
datetime
import
timedelta
import
simplejson
as
json
from
django.conf
import
settings
from
django.contrib.auth.models
import
User
from
django.urls
import
reverse
from
...dataformats.models
import
DataFormat
from
...algorithms.models
import
Algorithm
from
...toolchains.models
import
Toolchain
from
...team.models
import
Team
from
...attestations.models
import
Attestation
from
...backend.models
import
Environment
from
...backend.models
import
Queue
from
...attestations.models
import
Attestation
from
...databases.models
import
Database
from
...common.testutils
import
BaseTestCase
from
...common.testutils
import
(
# noqa test runner will call it, tearDownModule
tearDownModule
,
)
from
..models
import
Experiment
from
..models
import
CachedFile
from
...common.testutils
import
tearDownModule
# noqa test runner will call it
from
...databases.models
import
Database
from
...dataformats.models
import
DataFormat
from
...team.models
import
Team
from
...toolchains.models
import
Toolchain
from
..models
import
Block
from
..models
import
CachedFile
from
..models
import
Experiment
from
..models
import
Result
TEST_PWD
=
"
1234
"
# nosec
...
...
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