diff options
author | Monty Taylor <mordred@inaugust.com> | 2016-10-13 10:39:41 -0500 |
---|---|---|
committer | Monty Taylor <mordred@inaugust.com> | 2016-10-13 10:39:41 -0500 |
commit | 644d93f4d632c302cc8cd8ef5c465acfa4e478d5 (patch) | |
tree | f1fae88cdafc423137507b1a8c0f16051d6b7c2a /ttrun |
Initial Cookiecutter Commit.
Diffstat (limited to 'ttrun')
-rw-r--r-- | ttrun/__init__.py | 19 | ||||
-rw-r--r-- | ttrun/tests/__init__.py | 0 | ||||
-rw-r--r-- | ttrun/tests/base.py | 23 | ||||
-rw-r--r-- | ttrun/tests/test_ttrun.py | 28 |
4 files changed, 70 insertions, 0 deletions
diff --git a/ttrun/__init__.py b/ttrun/__init__.py new file mode 100644 index 0000000..8dd2e92 --- /dev/null +++ b/ttrun/__init__.py | |||
@@ -0,0 +1,19 @@ | |||
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 | import pbr.version | ||
16 | |||
17 | |||
18 | __version__ = pbr.version.VersionInfo( | ||
19 | 'ttrun').version_string() | ||
diff --git a/ttrun/tests/__init__.py b/ttrun/tests/__init__.py new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/ttrun/tests/__init__.py | |||
diff --git a/ttrun/tests/base.py b/ttrun/tests/base.py new file mode 100644 index 0000000..1c30cdb --- /dev/null +++ b/ttrun/tests/base.py | |||
@@ -0,0 +1,23 @@ | |||
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.""" | ||
diff --git a/ttrun/tests/test_ttrun.py b/ttrun/tests/test_ttrun.py new file mode 100644 index 0000000..06143b7 --- /dev/null +++ b/ttrun/tests/test_ttrun.py | |||
@@ -0,0 +1,28 @@ | |||
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_ttrun | ||
17 | ---------------------------------- | ||
18 | |||
19 | Tests for `ttrun` module. | ||
20 | """ | ||
21 | |||
22 | from ttrun.tests import base | ||
23 | |||
24 | |||
25 | class TestTtrun(base.TestCase): | ||
26 | |||
27 | def test_something(self): | ||
28 | pass | ||