Skip to content

Instantly share code, notes, and snippets.

@cneill
Created March 22, 2016 17:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cneill/cf10274cb149954529ff to your computer and use it in GitHub Desktop.
Save cneill/cf10274cb149954529ff to your computer and use it in GitHub Desktop.
https://github.com/openstack/syntribos/tree/master/README.rst#L35
CAFE Framework <https://github.com/stackforge/opencafe>`__.
https://github.com/openstack/syntribos/tree/master/README.rst#L83
- Create a directory named .opencafe in the user's home directory, or in the case of a python virtualenv, in the virtualenv root folder.
https://github.com/openstack/syntribos/tree/master/README.rst#L87
$ cafe-config init
https://github.com/openstack/syntribos/tree/master/README.rst#L93
$ cafe-config plugins install http
https://github.com/openstack/syntribos/tree/master/README.rst#L98
Copy the data files from Syntribos data directory to .opencafe/data directory created during "cafe-config init". This directory contains the fuzz string files. Copy the example configuration file to .opencafe/configs directory created during "cafe-config init".
https://github.com/openstack/syntribos/tree/master/README.rst#L102
$ cp data/* .opencafe/data/
https://github.com/openstack/syntribos/tree/master/README.rst#L103
$ cp examples/configs/keystone.config .opencafe/configs/.
https://github.com/openstack/syntribos/tree/master/README.rst#L110
$ vi .opencafe/configs/keystone.config
https://github.com/openstack/syntribos/tree/master/README.rst#L209
Syntribos takes advantage of the OpenCafe logging facility. Logs are
https://github.com/openstack/syntribos/tree/master/README.rst#L210
found in ``.opencafe/logs/`` Logs are then arranged in directories based
https://github.com/openstack/syntribos/tree/master/README.rst#L216
$ ls .opencafe/logs/keystone.config/2015-08-18_14_44_04.333088/
https://github.com/openstack/syntribos/tree/master/README.rst#L217
cafe.master.log
https://github.com/openstack/syntribos/tree/master/README.rst#L238
2015-08-18 14:44:12,464: DEBUG: cafe.engine.http.client:
https://github.com/openstack/syntribos/tree/master/README.rst#L257
2015-08-18 14:44:12,465: WARNING: cafe.engine.models.data_interfaces.ConfigParserDataSource: No section: 'fuzz'. Using default value '200.0' instead
https://github.com/openstack/syntribos/tree/master/README.rst#L348
added in ``opencafe/configs/keystone.config``
https://github.com/openstack/syntribos/tree/master/requirements.txt#L1
opencafe>=0.2.4,<0.2.5
https://github.com/openstack/syntribos/tree/master/scripts/syntribos-completion#L9
opts=$(python -c "from cafe.drivers.unittest.autocomplete import print_configs;print_configs()" 2>/dev/null)
https://github.com/openstack/syntribos/tree/master/syntribos/arguments.py#L21
import cafe.drivers.unittest.arguments
https://github.com/openstack/syntribos/tree/master/syntribos/arguments.py#L63
action=cafe.drivers.unittest.arguments.ConfigAction,
https://github.com/openstack/syntribos/tree/master/syntribos/arguments.py#L64
help="test config. Looks in the
/.opencafe/configs directory"
https://github.com/openstack/syntribos/tree/master/syntribos/clients/http/client.py#L16
from cafe.engine.http.client import HTTPClient
https://github.com/openstack/syntribos/tree/master/syntribos/config.py#L17
import cafe.engine.models.data_interfaces as data_interfaces
https://github.com/openstack/syntribos/tree/master/syntribos/extensions/identity/client.py#L16
import cafe.engine.http.client
https://github.com/openstack/syntribos/tree/master/syntribos/extensions/identity/client.py#L28
client = cafe.engine.http.client.AutoMarshallingHTTPClient(
https://github.com/openstack/syntribos/tree/master/syntribos/extensions/identity/client.py#L86
client = cafe.engine.http.client.AutoMarshallingHTTPClient("json", "json")
https://github.com/openstack/syntribos/tree/master/syntribos/extensions/identity/config.py#L17
import cafe.engine.models.data_interfaces as data_interfaces
https://github.com/openstack/syntribos/tree/master/syntribos/extensions/identity/models/base.py#L19
import cafe.engine.models.base
https://github.com/openstack/syntribos/tree/master/syntribos/extensions/identity/models/base.py#L30
class BaseIdentityModel(cafe.engine.models.base.AutoMarshallingModel):
https://github.com/openstack/syntribos/tree/master/syntribos/runner.py#L25
from cafe.common.reporting.cclogging import(
https://github.com/openstack/syntribos/tree/master/syntribos/runner.py#L28
from cafe.configurator.managers import(
https://github.com/openstack/syntribos/tree/master/syntribos/runner.py#L31
import cafe.drivers.base
https://github.com/openstack/syntribos/tree/master/syntribos/runner.py#L32
import cafe.drivers.unittest.suite
https://github.com/openstack/syntribos/tree/master/syntribos/runner.py#L53
if not os.environ.get("CAFE_CONFIG_FILE_PATH"):
https://github.com/openstack/syntribos/tree/master/syntribos/runner.py#L54
os.environ["CAFE_CONFIG_FILE_PATH"] = "./"
https://github.com/openstack/syntribos/tree/master/syntribos/runner.py#L98
test_log = os.environ.get("CAFE_TEST_LOG_PATH")
https://github.com/openstack/syntribos/tree/master/syntribos/runner.py#L141
cafe.drivers.base.print_exception(
https://github.com/openstack/syntribos/tree/master/syntribos/runner.py#L149
suite = cafe.drivers.unittest.suite.OpenCafeUnittestTestSuite()
https://github.com/openstack/syntribos/tree/master/syntribos/tests/auth/base_auth.py#L21
data_dir = os.environ.get("CAFE_DATA_DIR_PATH")
https://github.com/openstack/syntribos/tree/master/syntribos/tests/base.py#L21
import cafe.drivers.unittest.fixtures
https://github.com/openstack/syntribos/tree/master/syntribos/tests/base.py#L64
class BaseTestCase(cafe.drivers.unittest.fixtures.BaseTestFixture):
https://github.com/openstack/syntribos/tree/master/syntribos/tests/fuzz/base_fuzz.py#L25
data_dir = os.environ.get("CAFE_DATA_DIR_PATH")
https://github.com/openstack/syntribos/tree/master/syntribos/tests/fuzz/config.py#L17
from cafe.engine.models.data_interfaces import(
https://github.com/openstack/syntribos/tree/master/tox.ini#L11
commands = cafe-config plugins install http
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment