Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
inventory-provider
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
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
geant-swd
dashboardv3
inventory-provider
Commits
c31d5a69
Commit
c31d5a69
authored
4 years ago
by
Erik Reid
Browse files
Options
Downloads
Patches
Plain Diff
pep8
parent
e14a0752
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
inventory_provider/tasks/worker.py
+0
-1
0 additions, 1 deletion
inventory_provider/tasks/worker.py
test/test_general_poller_routes.py
+1
-5
1 addition, 5 deletions
test/test_general_poller_routes.py
test/test_worker_utils.py
+0
-1
0 additions, 1 deletion
test/test_worker_utils.py
with
1 addition
and
7 deletions
inventory_provider/tasks/worker.py
+
0
−
1
View file @
c31d5a69
import
enum
import
json
import
logging
import
os
...
...
This diff is collapsed.
Click to expand it.
test/test_general_poller_routes.py
+
1
−
5
View file @
c31d5a69
import
json
import
jsonschema
import
pytest
from
inventory_provider.tasks
import
worker
DEFAULT_REQUEST_HEADERS
=
{
"
Content-type
"
:
"
application/json
"
,
...
...
@@ -71,4 +67,4 @@ def test_get_all_interfaces(client):
jsonschema
.
validate
(
response_data
,
INTERFACE_LIST_SCHEMA
)
response_routers
=
{
ifc
[
'
router
'
]
for
ifc
in
response_data
}
assert
len
(
response_routers
)
>
1
,
\
'
there should data from be lots of routers
'
\ No newline at end of file
'
there should data from be lots of routers
'
This diff is collapsed.
Click to expand it.
test/test_worker_utils.py
+
0
−
1
View file @
c31d5a69
...
...
@@ -5,7 +5,6 @@ import json
import
re
import
jsonschema
import
pytest
from
inventory_provider.tasks
import
worker
from
inventory_provider.tasks
import
common
...
...
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