#1259 tests are failing in non-C LANGs
Closed: Fixed by mikem. Opened 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

PR #1260

Commit 90464796 fixes this issue

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/koji/koji/issues/1259

Please continue any further discussion there.

Metadata
Related Pull Requests