From 19a7d85595fbeed8d80450b2a74e8c4d968f07c5 Mon Sep 17 00:00:00 2001 From: Markus Lampert Date: Wed, 10 Aug 2022 17:32:39 -0700 Subject: [PATCH] Fixed path log unit tests --- src/Mod/Path/Path/__init__.py | 2 +- src/Mod/Path/PathTests/TestPathLog.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Mod/Path/Path/__init__.py b/src/Mod/Path/Path/__init__.py index e365888dbe..e633bc4d34 100644 --- a/src/Mod/Path/Path/__init__.py +++ b/src/Mod/Path/Path/__init__.py @@ -1,3 +1,3 @@ from PathApp import * -import Path.Log +import Path.Log as Log diff --git a/src/Mod/Path/PathTests/TestPathLog.py b/src/Mod/Path/PathTests/TestPathLog.py index d334feccb9..50c8100efa 100644 --- a/src/Mod/Path/PathTests/TestPathLog.py +++ b/src/Mod/Path/PathTests/TestPathLog.py @@ -24,10 +24,10 @@ import Path import unittest -class TestPath.Log(unittest.TestCase): +class TestPathLog(unittest.TestCase): """Some basic tests for the logging framework.""" - MODULE = "TestPath.Log" # file name without extension + MODULE = "TestPathLog" # file name without extension def setUp(self): Path.Log.setLevel(Path.Log.Level.RESET)