Add tests for trac HTML parsing.
[jelmer/bts-link.git] / remote / trac.py
index f8afe6d2a0c0c30954b6686fa8a05aaf72a59065..b868c0fedb3ff78a2062b22f059c0f8931c8aa49 100644 (file)
@@ -74,7 +74,7 @@ class TracTicket:
 
     def _process_status(self, text):
         words = text.split()
-        assert len(words) in (1, 2)
+        assert len(words) in (1, 2), "invalid status/resolution: %r" % words
         if len(words) == 1:
             return text, None
         else: