diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3851b9d25abee2b088a3fcd9389a3219969aca0a..bfc356c38e3bcd07b4283b4bcc20c0c7af3bd6e5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -12,13 +12,14 @@ unit_tests: stage: test coverage: /^TOTAL\s+\d+\s+\d+\s+\d+\s+\d+\s+(\d+)%$/ script: - - nosetests --with-coverage + - python setup.py nosetests # vagrant_backed_tests # stage: test +# coverage: /^TOTAL\s+\d+\s+\d+\s+\d+\s+\d+\s+(\d+)%$/ # script: # - vagrant ssh -c 'sudo shutdown -P +10' -# - vagrant ssh -c 'cd /vagrant; nosetests --with-coverage' +# - vagrant ssh -c 'cd /vagrant; python setup.py nosetests' # before_script: # - vagrant up # after_script: diff --git a/tests/__init__.py b/tests/__init__.py index 459364daaa6503c14bda15a549422038bf62a811..95995627150479d0550211c778e6688909beca06 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,8 +1 @@ # coding=UTF-8 - - -import unittest -class TestX(unittest.TestCase): - def test_wtf(self): - import your_project_source.erer - pass \ No newline at end of file diff --git a/your_project_source/erer.py b/your_project_source/erer.py deleted file mode 100644 index d37f793bf0a8427b9db91646a25d3a1ed9264ab3..0000000000000000000000000000000000000000 --- a/your_project_source/erer.py +++ /dev/null @@ -1,11 +0,0 @@ -# coding=UTF-8 -""" -It sounds like a melody -""" -from __future__ import print_function, absolute_import, division -import six -import logging - -logger = logging.getLogger(__name__) - -