Update git submodules

* Update oslotest from branch 'master'
  - Update hacking version
    
    Change-Id: Idf8ab7f1352095086482032758510e5139ae0b34
    
  - Change openstack-dev to openstack-discuss
    
    Mailinglists have been updated. Openstack-discuss replaces openstack-dev.
    
    Change-Id: I1d4fa86ad7280474c5a2c145e33b5aa2f32b1a4a
    
  - Title underline too long
    
    Change-Id: I3285c7fc97da5f6734cc74d77b956364e1c42664
    
  - Don't quote {posargs} in tox.ini
    
    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
    
  - Merge "Fix nits in timeout change"
  - Merge "Use templates for cover and lower-constraints"
  - Fix nits in timeout change
    
    Just a typo and comment update.
    
    Change-Id: Idf29423516692da939f2bafb96018e35956ee9d4
    
  - Add DEFAULT_TIMEOUT and TIMEOUT_SCALING_FACTOR
    
    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
    oslotest.
    
    Change-Id: I2ef5d0194185bf58c0945efb0725202e6d177e3f
    
  - Use templates for cover and lower-constraints
    
    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
    
  - Fix requirements check ci in oslotest
    
    Change-Id: I763ea42a38c826be06e707e6749a02f43e341be5
    
  - add python 3.6 unit test job
    
    This is a mechanically generated patch to add a unit test job running
    under Python 3.6 as part of the python3-first goal.
    
    See the python3-first goal document for details:
    https://governance.openstack.org/tc/goals/stein/python3-first.html
    
    Change-Id: I9003b9666f664a94c90e66fc52561ff53df83e96
    Story: #2002586
    Task: #24322
    
  - import zuul job settings from project-config
    
    This is a mechanically generated patch to complete step 1 of moving
    the zuul job settings out of project-config and into each project
    repository.
    
    Because there will be a separate patch on each branch, the branch
    specifiers for branch-specific jobs have been removed.
    
    See the python3-first goal document for details:
    https://governance.openstack.org/tc/goals/stein/python3-first.html
    
    Change-Id: I9f7f63541d636ad7b0e8ff82f0dfaf1634b377ee
    Story: #2003250
    
  - Update reno for stable/rocky
    
    Change-Id: I0fea635e0677c6b06a6ba214d6b3830eb1cc9114
    
  - Add release note link in README
    
    Change-Id: Icd877f47da1da45086f8a7465a6af1f16a4ae040
    
  - Switch to using stestr
    
    When the TC merged I2637dd714cbb6d38ef8b8dc1083e359207118284 we're
    supposed to invoke stestr rather than testr so lets do that
    
    Change-Id: Iba54c6540644d3d4942686b9f1c33fce6d19d431
    
  - fix tox python3 overrides
    
    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: Doug Hellmann <doug@doughellmann.com>
    
  - Merge "Deprecate MoxStubout class"
  - Merge "mock: Perform patch's autospec checks on __enter__"
  - Deprecate MoxStubout class
    
    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
    
  - Fix requirements
    
    One of our lower bounds didn't match so the requirements job in this
    repo is failing.
    
    Change-Id: Iaf64f0cbee5ee7894367a354c1d1646561759744
    
  - mock: Perform patch's autospec checks on __enter__
    
    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
    
  - Merge "Trivial: Update pypi url to new url"
  - Merge "mock: Apply autospec to a mock's return_value"
  - Trivial: Update pypi url to new url
    
    Pypi url changed from [1] to [2]
    
    [1] https://pypi.python.org/pypi/<package>
    [2] https://pypi.org/project/<package>
    
    Change-Id: I5e106592e0df1d8cdb058e578cc423123f6a5b47
    
  - set default python to python3
    
    Set the default python to python3 except for the py27 environment. We
    have to set that explicitly to override the new default.
    
    Change-Id: I6751b74c5dee149972695258672db0f82787d646
    Signed-off-by: Doug Hellmann <doug@doughellmann.com>
    
  - mock: Apply autospec to a mock's return_value
    
    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:
    
    mock_foo().lish(some_argument_which_doesnt_exist=42)
    
    This patch addresses this issue, and adds necessary unit tests to
    test this behaviour.
    
    Change-Id: Icd96beba5a32001cf33f075b801471c6e7c75898
    Related-Bug: #1735588
This commit is contained in:
ZhijunWei 2018-12-28 22:52:08 +08:00 committed by Gerrit Code Review
parent a91d5a1f06
commit 7c8c281998
1 changed files with 1 additions and 1 deletions

@ -1 +1 @@
Subproject commit bb78b84c3fc8485e590f2c925c07731a9740a852
Subproject commit ea390dd30c83da049bc15a50a7b2869cfda41575