Logo Search packages:      
Sourcecode: hgsvn version File versions  Download package

def hgsvn::unittests::test_svnclient::TestSVNStatus::test_parse (   self  ) 

Parsing the output of 'svn st --xml'.

Definition at line 237 of file test_svnclient.py.

00237                         :
        """
        Parsing the output of 'svn st --xml'.
        """
        entries = svnclient.parse_svn_status_xml(svn_status_xml)
        eq_(len(entries), 4)
        e = entries[0]
        eq_(e['path'], '_doc.html')
        eq_(e['type'], 'unversioned')
        e = entries[1]
        eq_(e['path'], 'ez_setup')
        eq_(e['type'], 'external')
        e = entries[2]
        eq_(e['path'], 'hgcreatesvn.py')
        eq_(e['type'], 'normal')
        e = entries[3]
        eq_(e['path'], 'hgsvn/svnclient.py')
        eq_(e['type'], 'normal')

    def test_parse_with_base_dir(self):


Generated by  Doxygen 1.6.0   Back to index