diff options
author | Rodolfo Carvalho <rhcarvalho@gmail.com> | 2017-02-28 15:16:51 +0100 |
---|---|---|
committer | Rodolfo Carvalho <rhcarvalho@gmail.com> | 2017-03-06 19:49:16 +0100 |
commit | 700d907c0771405c3deb464d4972a1510025941d (patch) | |
tree | fd2f7dca3fa46bdd83d42e7172c79a5ecfccbbe9 /roles/lib_utils | |
parent | dace1a426b0a9b2dec4d8290370f3ba0dd882e12 (diff) | |
download | openshift-700d907c0771405c3deb464d4972a1510025941d.tar.gz openshift-700d907c0771405c3deb464d4972a1510025941d.tar.bz2 openshift-700d907c0771405c3deb464d4972a1510025941d.tar.xz openshift-700d907c0771405c3deb464d4972a1510025941d.zip |
Remove dummy setup/teardown methods
Diffstat (limited to 'roles/lib_utils')
-rwxr-xr-x | roles/lib_utils/src/test/unit/test_repoquery.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/roles/lib_utils/src/test/unit/test_repoquery.py b/roles/lib_utils/src/test/unit/test_repoquery.py index 790dabfc7..e39d9d83f 100755 --- a/roles/lib_utils/src/test/unit/test_repoquery.py +++ b/roles/lib_utils/src/test/unit/test_repoquery.py @@ -23,10 +23,6 @@ class RepoQueryTest(unittest.TestCase): Test class for RepoQuery ''' - def setUp(self): - ''' setup method for other tests ''' - pass - @mock.patch('repoquery._run') def test_querying_a_package(self, mock_cmd): ''' Testing querying a package ''' @@ -69,7 +65,3 @@ class RepoQueryTest(unittest.TestCase): mock_cmd.assert_has_calls([ mock.call(['/usr/bin/repoquery', '--plugins', '--quiet', '--pkgnarrow=repos', '--queryformat=%{version}|%{release}|%{arch}|%{repo}|%{version}-%{release}', 'bash']), ]) - - def tearDown(self): - '''TearDown method''' - pass |