From 3b9d23bff23cfba208131b004ae4a0e7484e9aff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Mon, 16 Apr 2018 01:36:53 +0200
Subject: [PATCH] fixup! eggtest: provide nicer test names

By using `os.path.normpath` we also support paths with a trailing slash.
---
 erp5/util/testsuite/__init__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/erp5/util/testsuite/__init__.py b/erp5/util/testsuite/__init__.py
index eb982458c0..fdf7bc8b68 100644
--- a/erp5/util/testsuite/__init__.py
+++ b/erp5/util/testsuite/__init__.py
@@ -297,7 +297,7 @@ def runTestSuite():
                     node_quantity=args.node_quantity,
                     revision=revision,
                     python_interpreter=args.python_interpreter,
-                    egg_test_path_dict={os.path.basename(path): path
+                    egg_test_path_dict={os.path.basename(os.path.normpath(path)): path
                         for path in args.source_code_path_list.split(',')},
                     )
 
-- 
2.30.9