Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Wiki Replica
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
Container Registry
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
The Tor Project
TPA
Wiki Replica
Commits
34015320
Unverified
Commit
34015320
authored
5 years ago
by
anarcat
Browse files
Options
Downloads
Patches
Plain Diff
don't require betamax for normal operation
parent
251a96c3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tsa/howto/upgrades/predict-os.py
+1
-1
1 addition, 1 deletion
tsa/howto/upgrades/predict-os.py
with
1 addition
and
1 deletion
tsa/howto/upgrades/predict-os.py
+
1
−
1
View file @
34015320
...
...
@@ -29,7 +29,6 @@ import os
import
os.path
import
sys
import
betamax
import
pandas
as
pd
import
matplotlib
import
matplotlib.pyplot
as
plt
...
...
@@ -158,6 +157,7 @@ def puppetdb_query(url, query, session=requests):
def
test_puppetdb_query
():
'''
simulate a PuppetDB query
'''
import
betamax
session
=
requests
.
Session
()
recorder
=
betamax
.
Betamax
(
session
,
cassette_library_dir
=
'
cassettes
'
)
with
recorder
.
use_cassette
(
'
puppetdb
'
):
...
...
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