Mercurial > hgrepos > Python > libs > ConfigMix
changeset 754:c431160e3c48
FIX: Make tests workinng on Windows again
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Wed, 01 Nov 2023 07:26:19 +0100 |
| parents | 0f9e8337a24f |
| children | 04c5a3a36499 |
| files | CHANGES.txt tests/test.py |
| diffstat | 2 files changed, 10 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/CHANGES.txt Tue Oct 31 08:36:12 2023 +0100 +++ b/CHANGES.txt Wed Nov 01 07:26:19 2023 +0100 @@ -12,6 +12,13 @@ Pre-1.0 Series -------------- +n/a (n/a) +~~~~~~~~~ + +- **[test]** + Test fixes for the tests on Windows + + v0.23.1 (2023-10-31) ~~~~~~~~~~~~~~~~~~~~
--- a/tests/test.py Tue Oct 31 08:36:12 2023 +0100 +++ b/tests/test.py Wed Nov 01 07:26:19 2023 +0100 @@ -2519,7 +2519,7 @@ cfg = cfg = configmix.config.Configuration(cfg1) np = cfg.getvarl_s(u("path2")) self.assertEqual( - u(os.path.join("a", "b", "d")), + u("a/b/d"), np) def test_nested_filter_normpath_posixpath_2(self): @@ -2531,7 +2531,7 @@ cfg = cfg = configmix.config.Configuration(cfg1) np = cfg.getvarl_s(u("path2")) self.assertEqual( - u(os.path.join("a", "b", "C", "e")), + u("a/b/C/e"), np) def test_nested_filter_normpath_posixpath_upper(self): @@ -2543,7 +2543,7 @@ cfg = cfg = configmix.config.Configuration(cfg1) np = cfg.getvarl_s(u("path2")) self.assertEqual( - u(os.path.join("A", "B", "C", "E")), + u("A/B/C/E"), np)
