diff options
| author | Chris Dent <chdent@redhat.com> | 2015-03-12 13:31:06 +0000 |
|---|---|---|
| committer | Chris Dent <chdent@redhat.com> | 2015-03-13 12:01:04 +0000 |
| commit | d9d8cc614eccaffefdfd4aa4f536745f0aabc5e3 (patch) | |
| tree | 8ab56748455532a93e06fe98edddad60a423db15 /ceilometerclient/tests/unit/utils.py | |
| parent | e727d22bf1fc4ff613699560717e4aa460f60b73 (diff) | |
| download | python-ceilometerclient-d9d8cc614eccaffefdfd4aa4f536745f0aabc5e3.tar.gz | |
Move unit tests into their own subdirectory
This is in preparation of moving functional tests currently in
tempest in-tree.
No surprises in this change:
* move files
* update the local imports
Same number of tests run, all still pass.
Change-Id: Ibfeac44421c5f36740b1377868f5ec469b2893f5
Diffstat (limited to 'ceilometerclient/tests/unit/utils.py')
| -rw-r--r-- | ceilometerclient/tests/unit/utils.py | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/ceilometerclient/tests/unit/utils.py b/ceilometerclient/tests/unit/utils.py new file mode 100644 index 0000000..57bc276 --- /dev/null +++ b/ceilometerclient/tests/unit/utils.py @@ -0,0 +1,24 @@ +# Copyright 2012 OpenStack Foundation +# All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. + +import fixtures +import testtools + + +class BaseTestCase(testtools.TestCase): + + def setUp(self): + super(BaseTestCase, self).setUp() + self.useFixture(fixtures.FakeLogger()) |
