Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

moved tests to top-level folder #47

Merged
merged 1 commit into from
Feb 7, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
include *.rst *.txt
graft twitcher
include Makefile
include *.txt
include *.rst
recursive-include twitcher *
global-exclude *.*~
global-exclude __pycache__
global-exclude *.py[co]
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ requests
requests_oauthlib
pymongo
argcomplete
pytz
2 changes: 1 addition & 1 deletion requirements_dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ mock
WebTest
flake8
# internal WPS
pywps>=4.0.0
pywps>=4.2.0
1 change: 0 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
addopts =
--strict
--tb=native
twitcher/
python_files = test_*.py
markers =
online: mark test to need internet connection
Expand Down
8 changes: 5 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
CHANGES = open(os.path.join(here, 'CHANGES.rst')).read()

reqs = [line.strip() for line in open('requirements.txt')]
extra_reqs = [line.strip() for line in open('requirements_dev.txt')]

setup(name='pyramid_twitcher',
version=version,
Expand All @@ -20,16 +21,17 @@
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
"Development Status :: 4 - Beta",
],
author='Birdhouse Developers',
author_email='wps-dev@lists.dkrz.de',
author='Carsten Ehbrecht',
author_email='ehbrecht@dkrz.de',
url='https://github.com/bird-house/twitcher.git',
license='Apache License 2.0',
keywords='buildout pyramid twitcher birdhouse wps pywps security proxy ows ogc',
keywords='pyramid twitcher birdhouse wps security proxy ows ogc',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
test_suite='twitcher',
install_requires=reqs,
extra_requires=extra_reqs,
entry_points="""\
[paste.app_factory]
main = twitcher:main
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
from twitcher._compat import PY2
from twitcher._compat import xmlrpclib

from twitcher.tests.functional.common import setup_with_mongodb
from twitcher.tests. functional.common import setup_mongodb_tokenstore
from twitcher.tests.functional.common import setup_mongodb_servicestore
from .common import setup_with_mongodb
from .common import setup_mongodb_tokenstore
from .common import setup_mongodb_servicestore


class XMLRPCInterfaceAppTest(unittest.TestCase):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import unittest
import webtest
import pyramid.testing
from twitcher.tests.functional.common import setup_with_mongodb, setup_mongodb_tokenstore
from .common import setup_with_mongodb, setup_mongodb_tokenstore


class WpsAppTest(unittest.TestCase):
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion twitcher/tests/test_utils.py → tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from lxml import etree
from twitcher import utils
from twitcher.exceptions import ServiceNotFound
from twitcher.tests.common import WPS_CAPS_EMU_XML, WMS_CAPS_NCWMS2_111_XML, WMS_CAPS_NCWMS2_130_XML
from .common import WPS_CAPS_EMU_XML, WMS_CAPS_NCWMS2_111_XML, WMS_CAPS_NCWMS2_130_XML


def test_is_url_valid():
Expand Down