Skip to content

Instantly share code, notes, and snippets.

diff --git a/test/functional/ b/test/functional/
index df8b3cb2..23354636 100644
--- a/test/functional/
+++ b/test/functional/
@@ -162,74 +162,26 @@ def metadata_lint_update(role_directory):
# fields in this file have not been changed from their defaults. This is
# good because molecule should create this file using the defaults, and
# users should receive feedback to change these defaults. However, this
- # blocks the testing of 'molecule init' itself, so the meta/main.yml file
- # needs to modified as a special case after it's explicitly linted.
Usage: python <repo_id> <updateinfo xml>
This will parse an updateinfo xml file and add it to pulp as though the updateinfo file was found
in a feed repository. This script comes with no guarantees, and should behave the same as if the
updateinfo XML was parsed, and an appropriate 'pulp-admin rpm repo uploads erratum' command was
created for each package referenced by a given errata. This should not be used in a production
setting, use at your own risk.
This script is only for use with python 2.7, and will break with 2.6 or earlier and python 3.
seandst /
Created June 27, 2016 16:06
Pulp 3 DB Transcription Guide Draft


Relational Pulp Translation Guide


Converting from mongo to postgres should be recognized from the outset as a monumental task. In choosing Django as our ORM, this task has hopefully been made a little bit easier by bringing in such a mature and well-supported framework. Great care has been taken to make full use of Django's offerings when coming up with techniques and guidelines for converting our non-relational mongo

seandst / diff
Last active August 29, 2015 14:06
diff --git a/utils/ b/utils/
index 096410d..c794b29 100644
--- a/utils/
+++ b/utils/
@@ -222,7 +222,7 @@ def provider_by_type(metafunc, provider_types, *fields, **options):
idlist = []
special_args = ('provider_key', 'provider_data', 'provider_crud',
- 'provider_mgmt', 'provider_type')
+ 'provider_mgmt', 'provider_type', 'provider_setup')
import random
import pytest
def random_number(request):
# You can set attrs on the py.test Config object whenever you want
# Here works, as well as any pytest hook that accepts the config arg
request.session.config.random_number = random.randint(0, 10000)

Keybase proof

I hereby claim:

  • I am seandst on github.
  • I am seandst ( on keybase.
  • I have a public key whose fingerprint is 8C03 2CD5 D113 70F5 ADDC 001C B72B EA98 245F FF93

To claim this, I am signing this object: