[pitivi] tests: Rename test files to match module names
- From: Alexandru Băluț <alexbalut src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] tests: Rename test files to match module names
- Date: Sat, 26 Oct 2019 12:00:22 +0000 (UTC)
commit 1d32a01bc8b8aec6ae81bb926aea1226d84b9918
Author: Alexandru Băluț <alexandru balut gmail com>
Date: Fri Oct 25 07:31:53 2019 +0200
tests: Rename test files to match module names
po/POTFILES.skip | 2 +-
pre-commit.hook | 2 +-
pylint.rc | 3 ++-
tests/{test_media_library.py => test_medialibrary.py} | 0
tests/{test_plugin_manager.py => test_pluginmanager.py} | 0
tests/test_previewers.py | 2 +-
tests/test_render.py | 2 +-
7 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/po/POTFILES.skip b/po/POTFILES.skip
index 8f73642f..0b076c93 100644
--- a/po/POTFILES.skip
+++ b/po/POTFILES.skip
@@ -1,4 +1,4 @@
# List of source files that should *not* be translated.
# Please keep this file sorted alphabetically.
tests/plugins/test_alpha.ui
-tests/test_media_library.py
+tests/test_medialibrary.py
diff --git a/pre-commit.hook b/pre-commit.hook
index aed16a35..7639ad5e 100755
--- a/pre-commit.hook
+++ b/pre-commit.hook
@@ -56,7 +56,7 @@ tests/common.py
tests/test_check.py
tests/test_common.py
tests/test_log.py
-tests/test_media_library.py
+tests/test_medialibrary.py
tests/test_prefs.py
tests/test_preset.py
tests/test_project.py
diff --git a/pylint.rc b/pylint.rc
index 0152253c..e5ca43ef 100644
--- a/pylint.rc
+++ b/pylint.rc
@@ -15,11 +15,12 @@ init-hook='import gi; gi.require_version("Gtk", "3.0"); gi.require_version("Gst"
[MESSAGES CONTROL]
# Disable useless messages:
+# import-outside-toplevel
# no-member - Instance ... has no member ...
# similarities - Expensive detection of copy/pasted code
# too-few-public-methods
# too-many-lines - Modules have more than max-line-length lines
-disable=no-member,similarities,too-few-public-methods,too-many-lines
+disable=import-outside-toplevel,no-member,similarities,too-few-public-methods,too-many-lines
[VARIABLES]
diff --git a/tests/test_media_library.py b/tests/test_medialibrary.py
similarity index 100%
rename from tests/test_media_library.py
rename to tests/test_medialibrary.py
diff --git a/tests/test_plugin_manager.py b/tests/test_pluginmanager.py
similarity index 100%
rename from tests/test_plugin_manager.py
rename to tests/test_pluginmanager.py
diff --git a/tests/test_previewers.py b/tests/test_previewers.py
index 3fda9e0f..55f517ee 100644
--- a/tests/test_previewers.py
+++ b/tests/test_previewers.py
@@ -33,7 +33,7 @@ from pitivi.timeline.previewers import THUMB_HEIGHT
from pitivi.timeline.previewers import THUMB_PERIOD
from pitivi.timeline.previewers import ThumbnailCache
from tests import common
-from tests.test_media_library import BaseTestMediaLibrary
+from tests.test_medialibrary import BaseTestMediaLibrary
SIMPSON_WAVFORM_VALUES = [
diff --git a/tests/test_render.py b/tests/test_render.py
index ac3d93cd..a568ad4e 100644
--- a/tests/test_render.py
+++ b/tests/test_render.py
@@ -37,7 +37,7 @@ from pitivi.utils.proxy import ProxyingStrategy
from pitivi.utils.ui import get_combo_value
from pitivi.utils.ui import set_combo_value
from tests import common
-from tests.test_media_library import BaseTestMediaLibrary
+from tests.test_medialibrary import BaseTestMediaLibrary
def factory_exists(*factories):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]