1. 23 Mar, 2019 4 commits
    • Thomas Goirand's avatar
      Cosmetic fixups. · fa27f1d8
      Thomas Goirand authored
    • Thomas Goirand's avatar
      Removed Python 2 support. · ea5ad812
      Thomas Goirand authored
    • Thomas Goirand's avatar
      Now packaging 3.7.1. · 1e639eef
      Thomas Goirand authored
    • Thomas Goirand's avatar
      Merge tag '3.7.1' into debian/stein · 99a163ba
      Thomas Goirand authored
      oslotest 3.7.1 release
      meta:version: 3.7.1
      meta:diff-start: -
      meta:series: stein
      meta:release-type: release
      meta:pypi: yes
      meta:first: no
      meta:release:Author: Ben Nemec <bnemec@redhat.com>
      meta:release:Commit: Ben Nemec <bnemec@redhat.com>
      meta:release:Change-Id: I4f3b9ea53f61b869bcc329ea18990795f40a4769
      meta:release:Code-Review+2: Sean McGinnis <sean.mcginnis@gmail.com>
      meta:release:Workflow+1: Sean McGinnis <sean.mcginnis@gmail.com>
  2. 14 Feb, 2019 1 commit
  3. 28 Dec, 2018 1 commit
  4. 04 Dec, 2018 1 commit
  5. 07 Nov, 2018 1 commit
  6. 09 Oct, 2018 1 commit
    • Vieri's avatar
      Don't quote {posargs} in tox.ini · 31764711
      Vieri authored
      Quotes around {posargs} cause the entire string to be combined into one
      arg that gets passed to stestr. This prevents passing multiple args
      (e.g. '--concurrency=16 some-regex')
      Change-Id: Ifae9724565efd8716d8d8d5698edf4a3ff71f3f9
  7. 08 Oct, 2018 1 commit
  8. 05 Oct, 2018 1 commit
  9. 24 Sep, 2018 1 commit
  10. 23 Sep, 2018 1 commit
    • Monty Taylor's avatar
      Monty Taylor authored
      The openstacksdk test suite sets a default value for OS_TEST_TIMEOUT to
      enforce that no test in the suite should ever run long. It has to do
      that by using the EnvironmentVariable fixture before running the super
      setUp to get the value set before oslotest reads the environment
      variable. Add a class variable that can be overridden to allow doing
      that more cleanly.
      Additionally, in the openstacksdk functional test suite, there is a
      variable called "TIMEOUT_SCALING_FACTOR" that lets us mark that some of
      the tests (I'm looking at you volume functional tests) naturally run a
      bit longer than other tests in the suite. It's been invaluable for us
      for a couple of ugly cases, so it seemed like we should upstream it into
      Change-Id: I2ef5d0194185bf58c0945efb0725202e6d177e3f
  11. 07 Sep, 2018 1 commit
    • Andreas Jaeger's avatar
      Use templates for cover and lower-constraints · 99bf2bd4
      Andreas Jaeger authored
      Use openstack-tox-cover template, this runs the cover job
      in the check queue only.
      Use openstack-lower-constraints-jobs template
      Remove jobs that are part of the templates.
      Sort list of templates alphabetically.
      Fix tox.ini for cover to work.
      Change-Id: Id46f74ab4a8f64f7159effc8fa4d552f8217c498
  12. 03 Sep, 2018 1 commit
  13. 22 Aug, 2018 2 commits
  14. 20 Aug, 2018 4 commits
  15. 07 Aug, 2018 1 commit
  16. 03 Aug, 2018 2 commits
  17. 26 Jul, 2018 1 commit
  18. 27 Jun, 2018 1 commit
  19. 14 Jun, 2018 1 commit
    • wangqi's avatar
      Switch to using stestr · 897823fb
      wangqi authored
      When the TC merged I2637dd714cbb6d38ef8b8dc1083e359207118284 we're
      supposed to invoke stestr rather than testr so lets do that
      Change-Id: Iba54c6540644d3d4942686b9f1c33fce6d19d431
  20. 06 Jun, 2018 1 commit
    • Doug Hellmann's avatar
      fix tox python3 overrides · 258f8945
      Doug Hellmann authored
      We want to default to running all tox environments under python 3, so
      set the basepython value in each environment.
      We do not want to specify a minor version number, because we do not
      want to have to update the file every time we upgrade python.
      We do not want to set the override once in testenv, because that
      breaks the more specific versions used in default environments like
      py35 and py36.
      Change-Id: I6cb85818f107513a91a891eb8905f0a9a54dc716
      Signed-off-by: 's avatarDoug Hellmann <doug@doughellmann.com>
  21. 03 Jun, 2018 1 commit
  22. 20 May, 2018 1 commit
  23. 18 May, 2018 1 commit
  24. 14 May, 2018 2 commits
    • Ben Nemec's avatar
      Deprecate MoxStubout class · cae8c8d5
      Ben Nemec authored
      As part of the mox removal goal, we need to deprecate this class so
      it can be removed once everyone has stopped using it.
      Story 2001546
      Change-Id: I8864ab0c475b63a7549137d9ea0514b7e8154e79
    • Ben Nemec's avatar
      Fix requirements · 0a3b06e4
      Ben Nemec authored
      One of our lower bounds didn't match so the requirements job in this
      repo is failing.
      Change-Id: Iaf64f0cbee5ee7894367a354c1d1646561759744
  25. 07 May, 2018 1 commit
    • Claudiu Belu's avatar
      mock: Perform patch's autospec checks on __enter__ · 8241dd62
      Claudiu Belu authored
      Currently we're doing the autospec checks on __init__ (if the
      target is autospecable), which will require importing modules
      in some cases.
      The mock.patch's constructor is called when a test module is being
      loaded, before any set up could have been run, which can be problematic
      in some cases (e.g.: some tested modules are importing platform specific
      modules, and they couldn't have been mocked yet).
      This patch moves the autospec checks to __enter__, which is executed
      after the setUp.
      Related-Bug: #1735588
      Change-Id: I9e10b34092ad795c7f9e58596fcccf4f37856225
  26. 26 Apr, 2018 2 commits
  27. 21 Apr, 2018 1 commit
  28. 13 Apr, 2018 1 commit
  29. 29 Mar, 2018 1 commit
    • Claudiu Belu's avatar
      mock: Apply autospec to a mock's return_value · 6baff0ed
      Claudiu Belu authored
      When creating a mock with a class as an autospec:
      mock_foo = mock.Mock(autospec=FooClass)
      The autospec is only applied to mock_foo itself, and it will
      behave as expected. However, the autospec is not applied to its
      return_value and thus, the method validation is not enforced:
      This patch addresses this issue, and adds necessary unit tests to
      test this behaviour.
      Change-Id: Icd96beba5a32001cf33f075b801471c6e7c75898
      Related-Bug: #1735588
  30. 28 Mar, 2018 1 commit
    • Claudiu Belu's avatar
      mock: Properly patch mock.MagicMock · bb78b84c
      Claudiu Belu authored
      MockAutospecFixture should patch both internal and external usages
      of MagicMock (mock.MagicMock and mock.mock.MagicMock). However, only
      the internal one is patched properly.
      Related-Bug: #1735588
      Change-Id: Ib9709f1cf5dbed4792f5dd7c49d8f9c77f04419f