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
e11107fb
Commit
e11107fb
authored
4 years ago
by
Samuel GAIST
Browse files
Options
Downloads
Patches
Plain Diff
[utils][tests] Pre-commit cleanup
parent
107c61c3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!369
Cleanup utils
,
!342
Django 3 migration
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
beat/web/utils/tests/test_scheduling.py
+7
-9
7 additions, 9 deletions
beat/web/utils/tests/test_scheduling.py
with
7 additions
and
9 deletions
beat/web/utils/tests/test_scheduling.py
+
7
−
9
View file @
e11107fb
...
@@ -25,28 +25,26 @@
...
@@ -25,28 +25,26 @@
# #
# #
###############################################################################
###############################################################################
import
os
import
multiprocessing
import
multiprocessing
import
os
import
tempfile
import
tempfile
import
time
import
time
from
unittest
import
skipIf
from
unittest
import
skipIf
from
django
.test
import
TransactionTestCase
from
django
import
db
from
django.conf
import
settings
from
django.conf
import
settings
from
django.core.management
import
call_command
from
django.core.management
import
call_command
from
django
import
db
from
django
.test
import
TransactionTestCase
from
beat.core.utils
import
find_free_port
from
beat.core.utils
import
find_free_port
from
beat.web.backend.helpers
import
cancel_experiment
from
beat.web.backend.helpers
import
schedule_experiment
from
beat.web.backend.models.worker
import
Worker
from
beat.web.backend.models.worker
import
Worker
from
beat.web.backend.tests.common
import
BackendUtilitiesMixin
from
beat.web.backend.tests.common
import
ONE_QUEUE_TWO_WORKERS
from
beat.web.backend.tests.common
import
ONE_QUEUE_TWO_WORKERS
from
beat.web.backend.tests.common
import
BackendUtilitiesMixin
from
beat.web.backend.utils
import
setup_backend
from
beat.web.backend.utils
import
setup_backend
from
beat.web.backend.helpers
import
schedule_experiment
from
beat.web.backend.helpers
import
cancel_experiment
from
beat.web.experiments.models
import
Experiment
from
beat.web.experiments.models
import
Block
from
beat.web.experiments.models
import
Block
from
beat.web.experiments.models
import
Experiment
def
start_broker
(
port
,
verbosity
=
0
):
def
start_broker
(
port
,
verbosity
=
0
):
...
...
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