/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/plugins/fastimport/tests/test_generic_processor.py

  • Committer: Jelmer Vernooij
  • Date: 2018-02-03 13:09:57 UTC
  • mfrom: (6846.3.1 mark-0)
  • Revision ID: jelmer@jelmer.uk-20180203130957-u1wi0t5o4s95s38b
Merge lp:~jelmer/brz/mark-0

Show diffs side-by-side

added added

removed removed

Lines of Context:
231
231
        handler.process(self.file_command_iter(path))
232
232
 
233
233
 
 
234
class TestImportZeroMarker(TestCaseForGenericProcessor):
 
235
 
 
236
    def test_tag(self):
 
237
        handler, branch = self.get_handler()
 
238
        def command_list():
 
239
            committer = ['', 'elmer@a.com', time.time(), time.timezone]
 
240
            yield commands.TagCommand('tag1', ':0', committer, "tag 1")
 
241
        handler.process(command_list)
 
242
 
 
243
 
234
244
class TestImportToPackModify(TestCaseForGenericProcessor):
235
245
 
236
246
    def file_command_iter(self, path, kind='file', content='aaa',