Browse Source

Cleanup in tests folder

Ilya Shakhat 3 years ago
parent
commit
d62c59df34

+ 0
- 1
performa/engine/config.py View File

@@ -35,7 +35,6 @@ class Endpoint(types.String):
35 35
         return "Endpoint host[:port]"
36 36
 
37 37
 
38
-
39 38
 MAIN_OPTS = [
40 39
     cfg.StrOpt('scenario',
41 40
                default=utils.env('PERFORMA_SCENARIO'),

+ 0
- 23
performa/tests/base.py View File

@@ -1,23 +0,0 @@
1
-# -*- coding: utf-8 -*-
2
-
3
-# Copyright 2010-2011 OpenStack Foundation
4
-# Copyright (c) 2013 Hewlett-Packard Development Company, L.P.
5
-#
6
-# Licensed under the Apache License, Version 2.0 (the "License"); you may
7
-# not use this file except in compliance with the License. You may obtain
8
-# a copy of the License at
9
-#
10
-#      http://www.apache.org/licenses/LICENSE-2.0
11
-#
12
-# Unless required by applicable law or agreed to in writing, software
13
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15
-# License for the specific language governing permissions and limitations
16
-# under the License.
17
-
18
-from oslotest import base
19
-
20
-
21
-class TestCase(base.BaseTestCase):
22
-
23
-    """Test case base class for all unit tests."""

+ 0
- 28
performa/tests/test_performa.py View File

@@ -1,28 +0,0 @@
1
-# -*- coding: utf-8 -*-
2
-
3
-# Licensed under the Apache License, Version 2.0 (the "License"); you may
4
-# not use this file except in compliance with the License. You may obtain
5
-# a copy of the License at
6
-#
7
-#      http://www.apache.org/licenses/LICENSE-2.0
8
-#
9
-# Unless required by applicable law or agreed to in writing, software
10
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12
-# License for the specific language governing permissions and limitations
13
-# under the License.
14
-
15
-"""
16
-test_performa
17
-----------------------------------
18
-
19
-Tests for `performa` module.
20
-"""
21
-
22
-from performa.tests import base
23
-
24
-
25
-class TestPerforma(base.TestCase):
26
-
27
-    def test_something(self):
28
-        pass

+ 1
- 1
performa/tests/test_sysbench.py View File

@@ -60,7 +60,7 @@ Threads fairness:
60 60
 '''
61 61
 
62 62
 
63
-class TestUtils(testtools.TestCase):
63
+class TestSysbench(testtools.TestCase):
64 64
     def test_parse_oltp(self):
65 65
 
66 66
         expected = {

Loading…
Cancel
Save