From 19be4f08047ff67cbb38cc9c46c7c135585e2624 Mon Sep 17 00:00:00 2001 From: "Karl O. Pinc" Date: Mon, 25 Jan 2021 21:39:04 -0600 Subject: [PATCH] Change component name from pgwui_testing to pgwui_develop --- setup.py | 2 +- tests/test_assets.py | 5 +++-- tests/test_check_settings.py | 4 ++-- tests/test_path.py | 4 ++-- tests/test_pgwui_common.py | 5 +++-- tests/test_plugin.py | 2 +- tests/test_routes.py | 4 ++-- tests/test_urls.py | 5 +++-- tests/test_view.py | 5 +++-- tests/views/test_ex_views.py | 4 ++-- tests/views/test_page_views.py | 4 ++-- tox.ini | 2 +- 12 files changed, 25 insertions(+), 21 deletions(-) diff --git a/setup.py b/setup.py index ae9732d..089b032 100644 --- a/setup.py +++ b/setup.py @@ -59,7 +59,7 @@ long_description = filter_readme() # Pyramid testing requirements tests_require = [ - 'pgwui_testing==' + version, + 'pgwui_develop==' + version, 'WebTest >= 1.3.1', # py3 compat 'pytest>=3.7.4', 'pytest-cov', diff --git a/tests/test_assets.py b/tests/test_assets.py index 9948319..079176b 100644 --- a/tests/test_assets.py +++ b/tests/test_assets.py @@ -1,4 +1,5 @@ -# Copyright (C) 2018, 2020 The Meme Factory, Inc. http://www.karlpinc.com/ +# Copyright (C) 2018, 2020, 2021 The Meme Factory, Inc. +# http://www.karlpinc.com/ # This file is part of PGWUI_Common. # @@ -26,7 +27,7 @@ import pyramid.exceptions import pgwui_common.assets as assets import pgwui_common.exceptions as common_ex -from pgwui_testing import testing +from pgwui_develop import testing # Activiate the PGWUI pytest plugin pytest_plugins = ("pgwui",) diff --git a/tests/test_check_settings.py b/tests/test_check_settings.py index 9e08140..d4fbe9a 100644 --- a/tests/test_check_settings.py +++ b/tests/test_check_settings.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018, 2019, 2020 The Meme Factory, Inc. +# Copyright (C) 2018, 2019, 2020, 2021 The Meme Factory, Inc. # http://www.karlpinc.com/ # This file is part of PGWUI_Common. @@ -26,7 +26,7 @@ import pgwui_common.exceptions as ex import pgwui_common from pgwui_common import check_settings from pgwui_common import constants -from pgwui_testing import testing +from pgwui_develop import testing # Mark all tests as unit tests pytestmark = pytest.mark.unittest diff --git a/tests/test_path.py b/tests/test_path.py index f86b4e5..58ab249 100644 --- a/tests/test_path.py +++ b/tests/test_path.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018 The Meme Factory, Inc. http://www.meme.com/ +# Copyright (C) 2018, 2021 The Meme Factory, Inc. http://www.meme.com/ # This file is part of PGWUI_Common. # @@ -23,7 +23,7 @@ import pytest from pyramid.path import AssetResolver import pgwui_common.path -from pgwui_testing import testing +from pgwui_develop import testing MockAssetResolver = testing.make_mock_fixture( pgwui_common.path, 'AssetResolver') diff --git a/tests/test_pgwui_common.py b/tests/test_pgwui_common.py index b380dfb..9ce55a2 100644 --- a/tests/test_pgwui_common.py +++ b/tests/test_pgwui_common.py @@ -1,4 +1,5 @@ -# Copyright (C) 2018, 2020 The Meme Factory, Inc. http://www.karlpinc.com/ +# Copyright (C) 2018, 2020, 2021 The Meme Factory, Inc. +# http://www.karlpinc.com/ # This file is part of PGWUI_Common. # @@ -28,7 +29,7 @@ import pgwui_common.urls as urls import pgwui_common.view as view import pgwui_common.pgwui_common as pgwui_common -from pgwui_testing import testing +from pgwui_develop import testing # Activiate the PGWUI pytest plugin pytest_plugins = ("pgwui",) diff --git a/tests/test_plugin.py b/tests/test_plugin.py index 57985c4..bd1fa8e 100644 --- a/tests/test_plugin.py +++ b/tests/test_plugin.py @@ -21,7 +21,7 @@ import pytest -from pgwui_testing import testing +from pgwui_develop import testing from pgwui_common import plugin diff --git a/tests/test_routes.py b/tests/test_routes.py index d652688..321b57d 100644 --- a/tests/test_routes.py +++ b/tests/test_routes.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018, 2019, 2020 The Meme Factory, Inc. +# Copyright (C) 2018, 2019, 2020, 2021 The Meme Factory, Inc. # http://www.karlpinc.com/ # This file is part of PGWUI_Common. @@ -21,7 +21,7 @@ # Karl O. Pinc import pytest -from pgwui_testing import testing +from pgwui_develop import testing import logging import pyramid.testing diff --git a/tests/test_urls.py b/tests/test_urls.py index 5c854ef..8b9b064 100644 --- a/tests/test_urls.py +++ b/tests/test_urls.py @@ -1,4 +1,5 @@ -# Copyright (C) 2018, 2020 The Meme Factory, Inc. http://www.karlpinc.com/ +# Copyright (C) 2018, 2020, 2021 The Meme Factory, Inc. +# http://www.karlpinc.com/ # This file is part of PGWUI_Common. # @@ -27,7 +28,7 @@ from pyramid.threadlocal import get_current_request import pgwui_common.urls as urls import pgwui_common.exceptions as common_ex -from pgwui_testing import testing +from pgwui_develop import testing # Activiate the PGWUI pytest plugin pytest_plugins = ("pgwui",) diff --git a/tests/test_view.py b/tests/test_view.py index 80032e3..4677f44 100644 --- a/tests/test_view.py +++ b/tests/test_view.py @@ -1,4 +1,5 @@ -# Copyright (C) 2018, 2020 The Meme Factory, Inc. http://www.karlpinc.com/ +# Copyright (C) 2018, 2020, 2021 The Meme Factory, Inc. +# http://www.karlpinc.com/ # This file is part of PGWUI_Common. # @@ -24,7 +25,7 @@ from pyramid.threadlocal import get_current_request import pgwui_common.view as view -from pgwui_testing import testing +from pgwui_develop import testing # Activiate the PGWUI pytest plugin pytest_plugins = ("pgwui",) diff --git a/tests/views/test_ex_views.py b/tests/views/test_ex_views.py index 3f689bd..4f9ba57 100644 --- a/tests/views/test_ex_views.py +++ b/tests/views/test_ex_views.py @@ -1,4 +1,4 @@ -# Copyright (C) 2020 The Meme Factory, Inc. http://www.karlpinc.com/ +# Copyright (C) 2020, 2021 The Meme Factory, Inc. http://www.karlpinc.com/ # This file is part of PGWUI_Common. # @@ -26,7 +26,7 @@ from pyramid.threadlocal import get_current_request import pgwui_common.views.ex_views as ex_views import pgwui_common.exceptions as common_ex -import pgwui_testing.testing as testing +import pgwui_develop.testing as testing # Activiate our pytest plugin # pytest_plugins = ("pgwui",) diff --git a/tests/views/test_page_views.py b/tests/views/test_page_views.py index dcd0512..7ea715a 100644 --- a/tests/views/test_page_views.py +++ b/tests/views/test_page_views.py @@ -1,4 +1,4 @@ -# Copyright (C) 2020 The Meme Factory, Inc. http://www.karlpinc.com/ +# Copyright (C) 2020, 2021 The Meme Factory, Inc. http://www.karlpinc.com/ # This file is part of PGWUI_Common. # @@ -25,7 +25,7 @@ from pyramid.threadlocal import get_current_request import pgwui_common.exceptions as common_ex import pgwui_common.views.page_views as page_views -from pgwui_testing import testing +from pgwui_develop import testing # Activiate our pytest plugin # pytest_plugins = ("pgwui",) diff --git a/tox.ini b/tox.ini index 61916f1..066bc0e 100644 --- a/tox.ini +++ b/tox.ini @@ -11,7 +11,7 @@ deps = check-manifest cmarkgfm flake8 - pgwui_testing + pgwui_develop pytest pytest-cov twine -- 2.34.1