since setup.cfg lists package name as poppycdn, running
coverage failed to generate any data. specify a package
as poppy different from the one in setup.cfg.
Change-Id: Iac721e9df96807b4182e49a6b29a25f0c5b3e0b0
Update all deprecated calls to nonexistent functions
Update some incorrect unit tests for fastly services
Change-Id: Ida6398944dfddc07812f74c98abf2218449d7bcc
The exclude option passed to tox uses regex to filter
tests by name. We had a few unit and functional that
had substring 'api' as part of the name that were getting
skipped inadvertently.
Change-Id: I937c9f5a7562d1b3f6ab4a2c4025de1360ddfb9d
To solve the problem of "db type could
not be determined" on py34 we have to run first the py34 env to, then, run
py27. This patch puts py34 first on the tox.ini list of envs to avoid this
problem to happen.
Change-Id: If6d82c0c1130189a9d0a999a4c062b0da2049e41
Closes-bug: #1489059
This change works towards making the API tests pass
against Mimic'd drivers so that real production accounts
do not need to be set up - namely:
- Mimic - Fastly
- Mimic - Keystone
It also makes the mimic fastly instance the default driver in /etc
Implements: bp/mimic-fastly
Change-Id: I35d36fbc2452fc4e2233c19abefd738c9975edd0
- pinning mock to 1.0.1 under tests/test-requirements.txt did not work,
probably because some other framework has a dependency on it, putting
it in the last line did not work either.
Change-Id: I67fd7d170fb653f18bb5b90fbffab202b7c2bc67
For example, www.site.com would attempt to be an msapplication content type
and www.site.com.au would attempt to be an audio/object content type
Change-Id: I474fc523558a8c99ded656eff45f022ae6fb38ae
Closes-Bug: 1392568
This patchset adds the end to end tests for Poppy.
The test steps include,
1) Deploying a WP site on a cloud server
2) Creating a Poppy Service for the WP site
3) Reporting page load metrics using webpagtest
Change-Id: I5f96cd21ac59806310f314e27da4f07642d3cfb0
Any middleware used (Keystone, Repose, etc) will be required to
validate that the project_id is correct for the auth token used.
This change also moves the instantiation of the hook that checks
that the X-Project-ID header is mandatory to each controller
instead of during the make_app. This allows the X-Project-ID
context hook to only be checked on certain controllers (and ignored
on ones like /ping where projectid is not needed.
Change-Id: Ie2cfb9d76a0e53ba990332d1050cce634626b992
Closes-Bug: 1392818
This patch,
1) Adds API tests for get service endpoint.
2) Uncomments create service validations which were dependent on
get service endpoint.
Change-Id: I3fb9f9a8348cedd7ceb4062bad82d51d41b2a38e