summaryrefslogtreecommitdiffstats
path: root/roles/lib_utils/src
diff options
context:
space:
mode:
authorRodolfo Carvalho <rhcarvalho@gmail.com>2017-02-28 15:16:51 +0100
committerRodolfo Carvalho <rhcarvalho@gmail.com>2017-03-06 19:49:16 +0100
commit700d907c0771405c3deb464d4972a1510025941d (patch)
treefd2f7dca3fa46bdd83d42e7172c79a5ecfccbbe9 /roles/lib_utils/src
parentdace1a426b0a9b2dec4d8290370f3ba0dd882e12 (diff)
downloadopenshift-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/src')
-rwxr-xr-xroles/lib_utils/src/test/unit/test_repoquery.py8
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