Commits

Olemis Lang  committed aa1ecac

GViz providers : Updated unicode literals in some test cases ... (failures=6, errors=30)

  • Participants
  • Parent commits 9234fb9
  • Branches providers

Comments (0)

Files changed (1)

File trac-dev/gviz/tracgviz/testing/test_rpc.py

       (u'Ticket 1', u'Description 1', u'major', u'milestone1', 
           u'defect', u'murphy', u'accepted', u'component1', u'1.0')
       (u'Ticket 2', u'Description 2', u'major', u'milestone4', 
-          u'task', u'murphy', u'accepted', '', '')
+          u'task', u'murphy', u'accepted', u'', u'')
       (u'Ticket 3', u'Description 3', u'critical', u'milestone3', 
-          u'enhancement', u'tester', u'new', '', u'2.0')
+          u'enhancement', u'tester', u'new', u'', u'2.0')
       (u'Ticket 4', u'Description 4', u'minor', u'milestone3', 
           u'task', u'murphy', u'closed', u'component1', u'1.0')
       (u'Ticket 5', u'Description 5', u'minor', u'milestone3', 
-          u'task', u'murphy', u'new', '', u'2.0')
+          u'task', u'murphy', u'new', u'', u'2.0')
       (u'Ticket 6', u'Description 6', u'minor', u'milestone1', 
           u'task', u'tester', u'assigned', u'component2', u'1.0')
-      (u'Ticket 7', u'Description 7', u'critical', '', u'enhancement', 
-          u'murphy', u'closed', '', '')
-      (u'Ticket 8', u'Description 8', u'major', '', u'task', 
-          u'murphy', u'closed', u'component1', '')
-      (u'Ticket 9', u'Description 9', u'minor', '', u'enhancement', 
-          u'tester', u'closed', '', u'2.0')
+      (u'Ticket 7', u'Description 7', u'critical', u'', u'enhancement', 
+          u'murphy', u'closed', u'', u'')
+      (u'Ticket 8', u'Description 8', u'major', u'', u'task', 
+          u'murphy', u'closed', u'component1', u'')
+      (u'Ticket 9', u'Description 9', u'minor', u'', u'enhancement', 
+          u'tester', u'closed', u'', u'2.0')
 
       # Now it should work -- well mostly, because not all fields 
       #                       have been included in example tickets.
       (u'Ticket 1', u'Description 1', u'major', u'milestone1', 
           u'defect', u'murphy', u'accepted', u'component1', u'1.0')
       (u'Ticket 2', u'Description 2', u'major', u'milestone4', 
-          u'task', u'murphy', u'accepted', '', '')
+          u'task', u'murphy', u'accepted', u'', u'')
       (u'Ticket 3', u'Description 3', u'critical', u'milestone3', 
-          u'enhancement', u'tester', u'new', '', u'2.0')
+          u'enhancement', u'tester', u'new', u'', u'2.0')
       (u'Ticket 4', u'Description 4', u'minor', u'milestone3', 
           u'task', u'murphy', u'closed', u'component1', u'1.0')
       (u'Ticket 5', u'Description 5', u'minor', u'milestone3', 
-          u'task', u'murphy', u'new', '', u'2.0')
+          u'task', u'murphy', u'new', u'', u'2.0')
       (u'Ticket 6', u'Description 6', u'minor', u'milestone1', 
           u'task', u'tester', u'assigned', u'component2', u'1.0')
-      (u'Ticket 7', u'Description 7', u'critical', '', u'enhancement', 
-          u'murphy', u'closed', '', '')
-      (u'Ticket 8', u'Description 8', u'major', '', u'task', 
-          u'murphy', u'closed', u'component1', '')
-      (u'Ticket 9', u'Description 9', u'minor', '', u'enhancement', 
-          u'tester', u'closed', '', u'2.0')
+      (u'Ticket 7', u'Description 7', u'critical', u'', u'enhancement', 
+          u'murphy', u'closed', u'', u'')
+      (u'Ticket 8', u'Description 8', u'major', u'', u'task', 
+          u'murphy', u'closed', u'component1', u'')
+      (u'Ticket 9', u'Description 9', u'minor', u'', u'enhancement', 
+          u'tester', u'closed', u'', u'2.0')
 
       # Executing the query
       >>> print_report_result(cols, auth_rpcobj.execute(9))
       Column: milestone Value: milestone3
       Column: component Value: component1
       Column: version Value: 1.0
-      Column: resolution Value: ...
-      Column: keywords Value: --
-      Column: cc Value: --
+      Column: resolution Value: None
+      Column: keywords Value: None
+      Column: cc Value: None
       Column: changetime Value: ... 
       Column: time Value: ... 
       Column: href Value: http://example.org/trac.cgi/ticket/4
       Column: type Value: enhancement
       Column: status Value: closed
       Column: priority Value: critical
-      Column: milestone Value: --
-      Column: component Value: --
-      Column: version Value: --
-      Column: resolution Value: ...
-      Column: keywords Value: --
-      Column: cc Value: --
+      Column: milestone Value: None
+      Column: component Value: None
+      Column: version Value: None
+      Column: resolution Value: None
+      Column: keywords Value: None
+      Column: cc Value: None
       Column: changetime Value: ... 
       Column: time Value: ... 
       Column: href Value: http://example.org/trac.cgi/ticket/7
       Column: type Value: task
       Column: status Value: closed
       Column: priority Value: major
-      Column: milestone Value: --
+      Column: milestone Value: None
       Column: component Value: component1
-      Column: version Value: --
-      Column: resolution Value: ...
-      Column: keywords Value: --
-      Column: cc Value: --
+      Column: version Value: None
+      Column: resolution Value: None
+      Column: keywords Value: None
+      Column: cc Value: None
       Column: changetime Value: ... 
       Column: time Value: ... 
       Column: href Value: http://example.org/trac.cgi/ticket/8