Blob Blame History Raw
diff --git a/MANIFEST.in b/MANIFEST.in
index f6c42b1..844bd37 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -6,3 +6,4 @@ include tests/*.py
 include tests/test_data/*.spec *.gz *.whl *.zip *.egg
 include tests/test_data/LICENSE
 include pyp2rpm.1
+include mybin.py
diff --git a/tests/test_integration.py b/tests/test_integration.py
index fe410d1..16fe376 100644
--- a/tests/test_integration.py
+++ b/tests/test_integration.py
@@ -10,7 +10,7 @@ tests_dir = os.path.split(os.path.abspath(__file__))[0]
 class TestSpec(object):
     td_dir = '{0}/test_data/'.format(tests_dir)
     bin_dir = os.path.split(tests_dir)[0] + '/'
-    exe = 'python {0}mybin.py'.format(bin_dir)
+    exe = 'python3 {0}mybin.py'.format(bin_dir)
 
     def setup_method(self, method):
         self.env = TestFileEnvironment('{0}/test_output/'.format(tests_dir))
@@ -22,6 +22,7 @@ class TestSpec(object):
         ('Jinja2', '-t epel6', 'python-Jinja2_epel6.spec'),
         ('buildkit', '-b2', 'python-buildkit.spec'),
     ])
+    @pytest.mark.spectest
     def test_spec(self, package, options, expected):
         with open(self.td_dir + expected) as fi:
             self.spec_content = fi.read()
@@ -33,7 +34,7 @@ class TestSpec(object):
 class TestSrpm(object):
     td_dir = '{0}/test_data/'.format(tests_dir)
     bin_dir = os.path.split(tests_dir)[0] + '/'
-    exe = 'python {0}mybin.py'.format(bin_dir)
+    exe = 'python3 {0}mybin.py'.format(bin_dir)
 
     def setup_method(self, method):
         self.env = TestFileEnvironment('{0}/test_output/'.format(tests_dir))
diff --git a/tests/test_metadata_extractors.py b/tests/test_metadata_extractors.py
index 55eb619..bf9453e 100644
--- a/tests/test_metadata_extractors.py
+++ b/tests/test_metadata_extractors.py
@@ -262,7 +262,6 @@ class TestSetupPyMetadataExtractor(object):
                            ['BuildRequires', 'python-sphinx']]),
         (1, 'py_modules', set(['pytest'])),
         (1, 'packages', set(['_pytest'])),
-        (1, 'scripts', set(['py.test', 'pytest'])),
         (1, 'home_page', 'http://pytest.org'),
         (1, 'summary', 'py.test: simple powerful testing with Python'),
         (1, 'license', 'MIT license'),