[py-svn] r28151 - py/dist/py/path/svn/testing

jan at codespeak.net jan at codespeak.net
Sat Jun 3 13:11:05 CEST 2006


Author: jan
Date: Sat Jun  3 13:11:04 2006
New Revision: 28151

Modified:
   py/dist/py/path/svn/testing/test_urlcommand.py
   py/dist/py/path/svn/testing/test_wccommand.py
Log:
test for InfoSvnWCCommand in svn/wccommand.py, and some more checks for SvnInfoCommand


Modified: py/dist/py/path/svn/testing/test_urlcommand.py
==============================================================================
--- py/dist/py/path/svn/testing/test_urlcommand.py	(original)
+++ py/dist/py/path/svn/testing/test_urlcommand.py	Sat Jun  3 13:11:04 2006
@@ -39,9 +39,6 @@
         assert info.size ==  165
         assert info.time == 1132851300000000.0
 
-        py.std.pprint.pprint(info.__dict__)
-        assert 0
-
     def test_svn_1_3(self):
         line ="    4784 hpk                 2 Jun 01  2004 __init__.py"
         info = InfoSvnCommand(line)

Modified: py/dist/py/path/svn/testing/test_wccommand.py
==============================================================================
--- py/dist/py/path/svn/testing/test_wccommand.py	(original)
+++ py/dist/py/path/svn/testing/test_wccommand.py	Sat Jun  3 13:11:04 2006
@@ -231,12 +231,13 @@
         """
         
         info = InfoSvnWCCommand(output)
-        py.std.pprint.pprint(info.__dict__)
         assert info.last_author == 'jan'
         assert info.kind == 'file'
         assert info.mtime == 1149014726.0
         assert info.url == 'http://codespeak.net/svn/py/dist/py/path/svn/wccommand.py'
         assert info.time == 1149014726000000.0
+        assert info.rev == 28137
+
 
     def test_svn_1_3(self):
         output = """
@@ -259,4 +260,6 @@
         assert info.last_author == 'jan'
         assert info.kind == 'file'
         assert info.mtime == 1149014726.0
+        assert info.url == 'http://codespeak.net/svn/py/dist/py/path/svn/wccommand.py'
+        assert info.rev == 28124
         assert info.time == 1149014726000000.0



More information about the pytest-commit mailing list