put all the test code into tests directory
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
This commit is contained in:
parent
587210ad7f
commit
864ba36376
3 changed files with 10 additions and 2 deletions
3
setup.py
3
setup.py
|
|
@ -12,5 +12,6 @@ setup(
|
|||
packages = find_packages(),
|
||||
package_data = {'': ['README.md', 'LICENSE']},
|
||||
data_files = [('/etc', ['etc/multilib.conf'])],
|
||||
scripts = ['multilib/multilib_test_data']
|
||||
scripts = ['multilib/multilib_test_data'],
|
||||
test_suite = "tests",
|
||||
)
|
||||
|
|
|
|||
|
|
@ -4,8 +4,11 @@ from glob import glob
|
|||
import logging
|
||||
from optparse import OptionParser
|
||||
import os
|
||||
import sys
|
||||
import yum.packages
|
||||
|
||||
sys.path.insert(0, os.path.join(os.path.dirname(__file__), ".."))
|
||||
|
||||
try:
|
||||
# RHEL 6 and earlier
|
||||
import simplejson as json
|
||||
|
|
@ -1,5 +1,10 @@
|
|||
#!/usr/bin/python -tt
|
||||
|
||||
import sys
|
||||
import os
|
||||
|
||||
sys.path.insert(0, os.path.join(os.path.dirname(__file__), ".."))
|
||||
|
||||
try:
|
||||
# RHEL 6 and earlier
|
||||
import simplejson as json
|
||||
|
|
@ -12,7 +17,6 @@ from ConfigParser import ConfigParser
|
|||
import fakepo
|
||||
from fnmatch import fnmatch
|
||||
import multilib
|
||||
import os
|
||||
|
||||
# if you want to test the testing with the original mash code
|
||||
#import mash.multilib as multilib
|
||||
Loading…
Add table
Add a link
Reference in a new issue