1. 15 Jan, 2019 1 commit
  2. 03 Sep, 2018 1 commit
  3. 19 Aug, 2018 6 commits
  4. 03 Aug, 2018 1 commit
  5. 21 Jul, 2018 5 commits
    • Jamie Lennox's avatar
      Fix discovery of pytest version and default · 4909eac4
      Jamie Lennox authored
      So this was a dumb refactoring mistake that was hidden because I was
      testing on older versions not newer versions after the refactor.
      
      It means that we were always identifying pytest as an old version, and
      (seperately) the default value was then incorrect.
      
      I will scrap the 1.5.1 release and tag this as 1.5.2
      
      Closes: #66
      4909eac4
    • Jamie Lennox's avatar
      Add a docstring to the pytest fixture · e6f4319c
      Jamie Lennox authored
      When you run py.test --fixtures there's an error saying that there's no
      docstring on our fixture. We can add one of those.
      e6f4319c
    • Jamie Lennox's avatar
      Include release note for py.test · acce6240
      Jamie Lennox authored
      Damnit, this was supposed to go in before tagging the release.
      acce6240
    • Jamie Lennox's avatar
      Collapse CircleCI configuration · 93d23292
      Jamie Lennox authored
      Move unittest and publish into the same pipeline.
      93d23292
    • Jamie Lennox's avatar
      Support older pytest versions · 236306aa
      Jamie Lennox authored
      To be included in EPEL we need to support the current shipped py.test
      which is 2.7. This doesn't have the 'bool' type option to addini. We
      can copy this handling out of py.test until we can rely on that newer
      version.
      
      Also fixes using the @yield_fixture decorator on pytest < 3. This
      wouldn't break pytest for other people, but it wouldn't have let you use
      it as intended.
      
      BZ: #1605138
      Closes: #62
      236306aa
  6. 16 Jun, 2018 3 commits
    • Jamie Lennox's avatar
      Record value of stream parameter in request history · 7c82b529
      Jamie Lennox authored
      All the other parameters sent as part of the request are available on
      the request object, except stream. Even though stream may require more
      work to get setup correctly in testing we should record the parameter
      value and make it available for testing.
      
      Closes: #59
      7c82b529
    • Jamie Lennox's avatar
      Some additional gitignores · 092b67ed
      Jamie Lennox authored
      Some miscellaneous git ignores for files that tend to end up in the
      repository.
      092b67ed
    • Jamie Lennox's avatar
      Include reno in circleci publish job · 0843a917
      Jamie Lennox authored
      When publishing to pypi we should make sure reno is installed so that we
      publish release notes as part of the package.
      0843a917
  7. 14 Jun, 2018 1 commit
  8. 03 May, 2018 2 commits
    • Jamie Lennox's avatar
      Add release note describe repository migration · 33d9cc84
      Jamie Lennox authored
      In an effort to do meaningful release notes include the details about
      the repository migration in this cycle.
      33d9cc84
    • Jamie Lennox's avatar
      Add pytest plugin · a455a735
      Jamie Lennox authored
      pytest has a different way of loading modules. We define a plugin by the
      name of requests_mock that can be referenced from a pytest suite and it
      will be automatically be loaded.
      
      Closes: #28
      a455a735
  9. 02 May, 2018 3 commits
    • Jamie Lennox's avatar
      Include release-notes in documentation · 6576de4d
      Jamie Lennox authored
      reno was being used by openstack to generate release notes, but since
      the migration we've not done anything with them. It's a great tool and
      we should maintain and publish a release note that is more applicable
      that tne changelog generated by PBR.
      6576de4d
    • Jamie Lennox's avatar
      Another attempt at circleci tags · 446d8e6e
      Jamie Lennox authored
      This was still trying to push to pypi. My guess is that circleci tags
      aren't compared with an AND. Having both a branch and tag filter meant
      it was attempting to push for anything on master branch.
      
      Change it so that we ignore all branches for publish and only trigger on
      a tag.
      446d8e6e
    • Jamie Lennox's avatar
      Only try and push to pypi on a tag · 67ccb59a
      Jamie Lennox authored
      CircleCI just tried to push to pypi even though we didn't tag anything.
      This seems to be because you have to have the entire workflow tagged
      with the filters. This is stupid. Rewrite it in a way that hopefully
      doesn't push to pypi all the time.
      67ccb59a
  10. 30 Apr, 2018 1 commit
  11. 11 Mar, 2018 2 commits
    • Jamie Lennox's avatar
      Add pypi upload configuration to circleci · c87791dd
      Jamie Lennox authored
      Try and use an automated release job to publish to pypi on tag.
      Obviously I can't test this properly until we're ready to make a
      release.
      c87791dd
    • Jon Dufresne's avatar
      Move tests outside of package to top level directory · a0fd9ae7
      Jon Dufresne authored
      Cleanly separates tests from the package itself. Prevents the tests
      being installed to site-packages. Tests are concerned with development,
      not usage.
      
      The tests directory was added to MANIFEST.in, so tests are still
      distributed with the source distribution.
      
      This follows the "tests outside application code" convention that is
      common among many Python projects and the community.
      a0fd9ae7
  12. 10 Mar, 2018 8 commits
  13. 03 Mar, 2018 4 commits
  14. 27 Feb, 2018 2 commits