Browse Source

cherry picking test/ dir

suites/jessie-proposed-backports
Sandro Tosi 14 years ago
parent
commit
798016d9c4
  1. 2
      test/scaffold.py
  2. 2
      test/test_checkbuildd.py
  3. 2
      test/test_checkversions.py
  4. 2
      test/test_debianbts.py
  5. 2
      test/test_hiermatch.py
  6. 2
      test/test_rbtempfile.py
  7. 2
      test/test_reportbug.py
  8. 2
      test/test_reportbug_exceptions.py
  9. 2
      test/test_reportbug_submit.py
  10. 2
      test/test_reportbug_ui_newt.py
  11. 2
      test/test_reportbug_ui_text.py
  12. 4
      test/test_reportbug_ui_urwid.py
  13. 4
      test/test_urlutils.py

2
test/scaffold.py

@ -20,7 +20,7 @@ if not test_dir in sys.path:
sys.path.insert(1, test_dir)
if not parent_dir in sys.path:
sys.path.insert(1, parent_dir)
bin_dir = parent_dir
bin_dir = os.path.join(parent_dir, 'bin')
def suite(module_name):

2
test/test_checkbuildd.py

@ -13,4 +13,4 @@
import scaffold
from reportbuglib import checkbuildd
from reportbug import checkbuildd

2
test/test_checkversions.py

@ -13,4 +13,4 @@
import scaffold
from reportbuglib import checkversions
from reportbug import checkversions

2
test/test_debianbts.py

@ -13,4 +13,4 @@
import scaffold
from reportbuglib import debianbts
from reportbug import debianbts

2
test/test_hiermatch.py

@ -13,4 +13,4 @@
import scaffold
from reportbuglib import hiermatch
from reportbug import hiermatch

2
test/test_rbtempfile.py

@ -16,7 +16,7 @@ import os
import scaffold
from scaffold import TestCase
from reportbuglib import rbtempfile
from reportbug import tempfiles as rbtempfile
class Test_cleanup_temp_file(TestCase):

2
test/test_reportbug.py

@ -16,7 +16,7 @@ import os
import scaffold
from scaffold import TestCase
from reportbuglib import reportbug
from reportbug import utils as reportbug
class Test_glob_escape(TestCase):

2
test/test_reportbug_exceptions.py

@ -13,4 +13,4 @@
import scaffold
from reportbuglib import reportbug_exceptions
from reportbug import exceptions as reportbug_exceptions

2
test/test_reportbug_submit.py

@ -13,4 +13,4 @@
import scaffold
from reportbuglib import reportbug_submit
from reportbug import submit as reportbug_submit

2
test/test_reportbug_ui_newt.py

@ -13,4 +13,4 @@
import scaffold
from reportbuglib import reportbug_ui_newt
from reportbug.ui import newt as reportbug_ui_newt

2
test/test_reportbug_ui_text.py

@ -13,4 +13,4 @@
import scaffold
from reportbuglib import reportbug_ui_text
from reportbug.ui import text as reportbug_ui_text

4
test/test_reportbug_ui_urwid.py

@ -14,8 +14,8 @@
import scaffold
from scaffold import TestCase
from reportbuglib import reportbug_ui_urwid
from reportbuglib import reportbug_ui_text
from reportbug.ui import urwid as reportbug_ui_urwid
from reportbug.ui import text as reportbug_ui_text
class Test_ewrite(TestCase):

4
test/test_urlutils.py

@ -16,8 +16,8 @@ import httplib
import scaffold
from scaffold import TestCase
from reportbuglib import reportbug_exceptions
from reportbuglib import urlutils
from reportbug import exceptions as reportbug_exceptions
from reportbug import urlutils
class StubObject(object):

Loading…
Cancel
Save