Browse Source

added cwd setup boiler-plate to *.TestCase where missing

merge-requests/556/head
Michael Pöhn 2 years ago
parent
commit
7d5f4d3ab9
8 changed files with 16 additions and 0 deletions
  1. +2
    -0
      tests/exception.TestCase
  2. +2
    -0
      tests/import.TestCase
  3. +2
    -0
      tests/install.TestCase
  4. +2
    -0
      tests/lint.TestCase
  5. +2
    -0
      tests/metadata.TestCase
  6. +2
    -0
      tests/publish.TestCase
  7. +2
    -0
      tests/scanner.TestCase
  8. +2
    -0
      tests/signatures.TestCase

+ 2
- 0
tests/exception.TestCase View File

@ -54,6 +54,8 @@ class ExceptionTest(unittest.TestCase):
if __name__ == "__main__":
os.chdir(os.path.dirname(__file__))
parser = optparse.OptionParser()
parser.add_option("-v", "--verbose", action="store_true", default=False,
help="Spew out even more information than normal")

+ 2
- 0
tests/import.TestCase View File

@ -55,6 +55,8 @@ class ImportTest(unittest.TestCase):
if __name__ == "__main__":
os.chdir(os.path.dirname(__file__))
parser = optparse.OptionParser()
parser.add_option("-v", "--verbose", action="store_true", default=False,
help="Spew out even more information than normal")

+ 2
- 0
tests/install.TestCase View File

@ -35,6 +35,8 @@ class InstallTest(unittest.TestCase):
if __name__ == "__main__":
os.chdir(os.path.dirname(__file__))
parser = optparse.OptionParser()
parser.add_option("-v", "--verbose", action="store_true", default=False,
help="Spew out even more information than normal")

+ 2
- 0
tests/lint.TestCase View File

@ -118,6 +118,8 @@ class LintTest(unittest.TestCase):
if __name__ == "__main__":
os.chdir(os.path.dirname(__file__))
parser = optparse.OptionParser()
parser.add_option("-v", "--verbose", action="store_true", default=False,
help="Spew out even more information than normal")

+ 2
- 0
tests/metadata.TestCase View File

@ -141,6 +141,8 @@ class MetadataTest(unittest.TestCase):
if __name__ == "__main__":
os.chdir(os.path.dirname(__file__))
parser = optparse.OptionParser()
parser.add_option("-v", "--verbose", action="store_true", default=False,
help="Spew out even more information than normal")

+ 2
- 0
tests/publish.TestCase View File

@ -162,6 +162,8 @@ class PublishTest(unittest.TestCase):
if __name__ == "__main__":
os.chdir(os.path.dirname(__file__))
parser = optparse.OptionParser()
parser.add_option("-v", "--verbose", action="store_true", default=False,
help="Spew out even more information than normal")

+ 2
- 0
tests/scanner.TestCase View File

@ -39,6 +39,8 @@ class ScannerTest(unittest.TestCase):
if __name__ == "__main__":
os.chdir(os.path.dirname(__file__))
parser = optparse.OptionParser()
parser.add_option("-v", "--verbose", action="store_true", default=False,
help="Spew out even more information than normal")

+ 2
- 0
tests/signatures.TestCase View File

@ -57,6 +57,8 @@ class SignaturesTest(unittest.TestCase):
if __name__ == "__main__":
os.chdir(os.path.dirname(__file__))
parser = optparse.OptionParser()
parser.add_option("-v", "--verbose", action="store_true", default=False,
help="Spew out even more information than normal")

Loading…
Cancel
Save