[py-svn] r57209 - in py/branch/event/py/test2: . rep report report/testing

hpk at codespeak.net hpk at codespeak.net
Tue Aug 12 18:49:04 CEST 2008


Author: hpk
Date: Tue Aug 12 18:49:02 2008
New Revision: 57209

Added:
   py/branch/event/py/test2/report/
      - copied from r57208, py/branch/event/py/test2/rep/
Removed:
   py/branch/event/py/test2/rep/
Modified:
   py/branch/event/py/test2/config.py
   py/branch/event/py/test2/report/collectonly.py
   py/branch/event/py/test2/report/terminal.py
   py/branch/event/py/test2/report/testing/test_basereporter.py
   py/branch/event/py/test2/report/testing/test_collectonly.py
   py/branch/event/py/test2/report/testing/test_terminal.py
Log:
rename rep -> report. 
(it's great to have tests so that you can easily rename :)


Modified: py/branch/event/py/test2/config.py
==============================================================================
--- py/branch/event/py/test2/config.py	(original)
+++ py/branch/event/py/test2/config.py	Tue Aug 12 18:49:02 2008
@@ -145,9 +145,9 @@
 
     def initreporter(self, bus):
         if self.option.collectonly:
-            from py.__.test2.rep.collectonly import Reporter
+            from py.__.test2.report.collectonly import Reporter
         else:
-            from py.__.test2.rep.terminal import Reporter 
+            from py.__.test2.report.terminal import Reporter 
         rep = Reporter(self, bus=bus)
         return rep
 

Modified: py/branch/event/py/test2/report/collectonly.py
==============================================================================
--- py/branch/event/py/test2/rep/collectonly.py	(original)
+++ py/branch/event/py/test2/report/collectonly.py	Tue Aug 12 18:49:02 2008
@@ -2,7 +2,7 @@
 """ --collectonly session, not to spread logic all over the place
 """
 import py
-from py.__.test2.rep.base import BaseReporter 
+from py.__.test2.report.base import BaseReporter 
 from py.__.test2.outcome import Skipped as Skipped2
 from py.__.test.outcome import Skipped
 

Modified: py/branch/event/py/test2/report/terminal.py
==============================================================================
--- py/branch/event/py/test2/rep/terminal.py	(original)
+++ py/branch/event/py/test2/report/terminal.py	Tue Aug 12 18:49:02 2008
@@ -1,10 +1,10 @@
 import py
 import sys
 from py.__.test2 import event
-from py.__.test2.rep.base import BaseReporter
+from py.__.test2.report.base import BaseReporter
 from py.__.test2.outcome import Skipped as Skipped2
 from py.__.test.outcome import Skipped
-from py.__.test2.rep.base import getrelpath, repr_pythonversion
+from py.__.test2.report.base import getrelpath, repr_pythonversion
 
 class TerminalReporter(BaseReporter):
     def __init__(self, config, file=None, bus=None):

Modified: py/branch/event/py/test2/report/testing/test_basereporter.py
==============================================================================
--- py/branch/event/py/test2/rep/testing/test_basereporter.py	(original)
+++ py/branch/event/py/test2/report/testing/test_basereporter.py	Tue Aug 12 18:49:02 2008
@@ -1,9 +1,9 @@
 import py
-from py.__.test2.rep.base import BaseReporter
+from py.__.test2.report.base import BaseReporter
 from py.__.test2.event import EventBus
 from py.__.test2 import event
 from py.__.test2.runner import OutcomeRepr
-from py.__.test2.rep.base import getrelpath, getmodpath, repr_pythonversion
+from py.__.test2.report.base import getrelpath, getmodpath, repr_pythonversion
 from py.__.test2.testing import setupdata
 import sys
 

Modified: py/branch/event/py/test2/report/testing/test_collectonly.py
==============================================================================
--- py/branch/event/py/test2/rep/testing/test_collectonly.py	(original)
+++ py/branch/event/py/test2/report/testing/test_collectonly.py	Tue Aug 12 18:49:02 2008
@@ -1,5 +1,5 @@
 import py
-from py.__.test2.rep.collectonly import CollectonlyReporter
+from py.__.test2.report.collectonly import CollectonlyReporter
 from py.__.test2 import event
 from py.__.test2.testing import suptest
 

Modified: py/branch/event/py/test2/report/testing/test_terminal.py
==============================================================================
--- py/branch/event/py/test2/rep/testing/test_terminal.py	(original)
+++ py/branch/event/py/test2/report/testing/test_terminal.py	Tue Aug 12 18:49:02 2008
@@ -1,5 +1,5 @@
 import py
-from py.__.test2.rep.terminal import TerminalReporter
+from py.__.test2.report.terminal import TerminalReporter
 from py.__.test2 import event
 #from py.__.test2.testing import suptest
 from py.__.test2.runner import basic_run_report



More information about the pytest-commit mailing list