from bzrlib.plugins.bzrp4.git_p4 import IntermediateFile
import unittest
class TestIntermediateFile(unittest.TestCase):
def setUp(self):
self.f = IntermediateFile({'type': 'type value',
'path': 'path value',
'action': 'action value',
'rev': 'rev value'})
def test_get_type(self):
self.assertEquals('type value', self.f.get_type())
def test_get_path(self):
self.assertEquals('path value', self.f.get_path())
def test_get_action(self):
self.assertEquals('action value', self.f.get_action())
def test_get_rev(self):
self.assertEquals('rev value', self.f.get_rev())
# |
Change |
User |
Description |
Committed |
|
#2
|
7355 |
Matt McClure |
Changes to UNIX line endings. |
|
|
#1
|
7149 |
Matt McClure |
Reduces memory usage so that p4-fast-export can handle a large number of files at a single changelist, and very large individual files. |
|
|