Self hosted FLOSS fitness/workout, nutrition and weight tracker
Remove mobile testcases
Rolande8edd8c89665
diff --git a/.travis.yml b/.travis.ymlindex eeceff054..ef4f56d8d 100644--- a/.travis.yml+++ b/.travis.yml@@ -12,22 +12,17 @@ cache:- node_modules- wger/node_modules-# Use container infrastructure-sudo: false-# Python versions to testpython:- "3.6"- "3.7"- "3.8"-# Manually define here the combinations environment variables to test-# https://github.com/travis-ci/travis-ci/issues/1519+node_js: 10+env:- - TEST_MOBILE=True DB=postgresql TRAVIS_NODE_VERSION="6"- - TEST_MOBILE=True DB=sqlite TRAVIS_NODE_VERSION="6"- - TEST_MOBILE=False DB=postgresql TRAVIS_NODE_VERSION="6"- - TEST_MOBILE=False DB=sqlite TRAVIS_NODE_VERSION="6"+ - DB=postgresql+ - DB=sqlite# Install the applicationinstall:diff --git a/wger/core/tests/base_testcase.py b/wger/core/tests/base_testcase.pyindex 05683f925..3e5797b68 100644--- a/wger/core/tests/base_testcase.py+++ b/wger/core/tests/base_testcase.py@@ -133,14 +133,6 @@ class BaseTestCase(object):# Explicitly set the locale to en, otherwise the CI might make problemsactivate('en')- # Test the mobile templates- if os.environ.get('TEST_MOBILE') == 'True':- settings.FLAVOURS = ('mobile',)- self.is_mobile = True- self.client.defaults.update({'HTTP_USER_AGENT': 'Mozilla/5.0 (iPhone; CPU iPhone OS 9_3'- ' like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) '- 'Version/9.0 Mobile/13E198 Safari/601.1'})-# Set logging levellogging.disable(logging.INFO)