~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_xml.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-12-12 00:25:28 UTC
  • mfrom: (2102.4.4 revision_ms)
  • Revision ID: pqm@pqm.ubuntu.com-20061212002528-87297ad66899257e
(John Arbash Meinel) Switch the XML5 serializer to use millisecond timestamps

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
    inventory_id="mbp@sourcefrog.net-20050905080035-e0439293f8b6b9f9"
33
33
    inventory_sha1="e79c31c1deb64c163cf660fdedd476dd579ffd41"
34
34
    revision_id="mbp@sourcefrog.net-20050905080035-e0439293f8b6b9f9"
35
 
    timestamp="1125907235.211783886"
 
35
    timestamp="1125907235.212"
36
36
    timezone="36000">
37
37
<message>- start splitting code for xml (de)serialization away from objects
38
38
  preparatory to supporting multiple formats by a single library
46
46
_revision_v5 = """<revision committer="Martin Pool &lt;mbp@sourcefrog.net&gt;"
47
47
    inventory_sha1="e79c31c1deb64c163cf660fdedd476dd579ffd41"
48
48
    revision_id="mbp@sourcefrog.net-20050905080035-e0439293f8b6b9f9"
49
 
    timestamp="1125907235.211783886"
 
49
    timestamp="1125907235.212"
50
50
    timezone="36000">
51
51
<message>- start splitting code for xml (de)serialization away from objects
52
52
  preparatory to supporting multiple formats by a single library
61
61
<revision committer="Martin Pool &lt;mbp@sourcefrog.net&gt;"
62
62
    inventory_sha1="e79c31c1deb64c163cf660fdedd476dd579ffd41"
63
63
    revision_id="mbp@sourcefrog.net-20050905080035-e0439293f8b6b9f9"
64
 
    timestamp="1125907235.211783886"
 
64
    timestamp="1125907235.212"
65
65
    timezone="0">
66
66
<message>- start splitting code for xml (de)serialization away from objects
67
67
  preparatory to supporting multiple formats by a single library
102
102
 
103
103
 
104
104
# DO NOT REFLOW THIS. Its the exact revision we want.
105
 
_expected_rev_v5 = """<revision committer="Martin Pool &lt;mbp@sourcefrog.net&gt;" format="5" inventory_sha1="e79c31c1deb64c163cf660fdedd476dd579ffd41" revision_id="mbp@sourcefrog.net-20050905080035-e0439293f8b6b9f9" timestamp="1125907235.211783886" timezone="36000">
 
105
_expected_rev_v5 = """<revision committer="Martin Pool &lt;mbp@sourcefrog.net&gt;" format="5" inventory_sha1="e79c31c1deb64c163cf660fdedd476dd579ffd41" revision_id="mbp@sourcefrog.net-20050905080035-e0439293f8b6b9f9" timestamp="1125907235.212" timezone="36000">
106
106
<message>- start splitting code for xml (de)serialization away from objects
107
107
  preparatory to supporting multiple formats by a single library
108
108
</message>