-
Notifications
You must be signed in to change notification settings - Fork 0
A partial mockup of the Fedora Project's infrastructure for use in testing
License
tflink/mock_fedorainfra
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is a partial implementation of the Fedora infrastructure to use for testing without needing to actually set up instances of all the services. The project was initially designed to assist in the testing of AutoQA. At this point, this is a very QnD project and the code is really ugly. Use at your own risk and know that everything is likely to change in the not so far future. Capabilities: - Capturing bodhi comments - Proxying bodhi queries - Providing fake data for koji queries Dependencies: Flask >= .8 Flask-XML-RPC SQLAlchemy py.test >= 2.0.0 To run the tests, run: runtests.sh When the tests are run, a virtualenv will be created that contains all of the dependencies is created. To start a local http server, run: source env_flask/bin/activate python mock_fedorainfra/boji.py To use the HTML viewer, navigate to: http://your-host-name-here:5000/boji/ If you want the http server to be accessible from other machines, add the public host name to the end of boji.py -> app.run(host='your-hostname-here') Right now, everything is stored in a sqlite3 database at /tmp/boji.db. The database will be initialized automatically when the application starts. Note that Flask and its dependencies are installed into a virtualenv if you run the runtests.sh script. After its creation, you can activate the env_flask virtualenv and run Flask without installing any new packages.
About
A partial mockup of the Fedora Project's infrastructure for use in testing
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published