#1259 tests are failing in non-C LANGs
Closed: Fixed 4 years ago by mikem. Opened 5 years ago by tkopecek.

Running tests (especially those spawning rpm) can fail on different translations. Turning LANG=C for all tests would fix it.

FAIL: Test formatChangelog function
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/root/koji-upstream/tests/test_lib/test_utils.py", line 586, in test_formatChangelog
    self.assertMultiLineEqual(expect, result)
AssertionError: '* Wed Oct 25 2017 Happy Koji User <user1@example.com> - 1.1-1\n- Line     1\n- Line [truncated]... != '* St \xc5\x99\xc3\xadj 25 2017 Happy Koji User     <user1@example.com> - 1.1-1\n- L [truncated]...
- * Wed Oct 25 2017 Happy Koji User <user1@example.com> - 1.1-1
?   ^^^^^^
+ * St říj 25 2017 Happy Koji User <user1@example.com> - 1.1-1
?   ^ ++++++
  - Line 1
  - Line 2

- * Mon Aug 28 2017 Happy ĸōji Ŭsəŕ <user2@example.com>
?   ^ ^^^^^
+ * Po srp 28 2017 Happy ĸōji Ŭsəŕ <user2@example.com>
?   ^ ^^^^
  - some changelog entry

- * Tue Oct 10 2017 Koji Admin <admin@example.com> - 1.49-6
?   ^^^^^^
+ * Út říj 10 2017 Koji Admin <admin@example.com> - 1.49-6
?   ^^ ++++++
  - mass rebuild

Login to comment on this ticket.

Metadata
Related Pull Requests
  • #1260 Merged 4 years ago