Loading code-analysis.sh +1 −1 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ echo echo "MODULE ANALYSIS" echo "---------------" pylint ska_skeleton pylint ska_python_skeleton echo "TESTS ANALYSIS" echo "--------------" Loading setup.cfg +1 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ test=pytest [coverage:run] branch = True source = ska_skeleton source = ska_python_skeleton [tool:pytest] testpaths = tests Loading setup.py +6 −6 Original line number Diff line number Diff line Loading @@ -7,22 +7,22 @@ with open('README.md') as readme_file: readme = readme_file.read() setup( name='ska_skeleton', name='ska_python_skeleton', version='0.0.0', description="", long_description=readme + '\n\n', author="Your Name", author_email='your.email@mail.com', url='https://github.com/ska-telescope/ska_skeleton', url='https://github.com/ska-telescope/ska_python_skeleton', packages=[ 'ska_skeleton', 'ska_python_skeleton', ], package_dir={'ska_skeleton': 'ska_skeleton'}, package_dir={'ska_python_skeleton': 'ska_python_skeleton'}, include_package_data=True, license="BSD license", zip_safe=False, keywords='ska_skeleton', keywords='ska_python_skeleton', classifiers=[ 'Development Status :: 2 - Pre-Alpha', 'Intended Audience :: Developers', Loading tests/test_ska_skeleton.py +7 −7 Original line number Diff line number Diff line #!/usr/bin/env python # -*- coding: utf-8 -*- """Tests for the ska_skeleton module.""" """Tests for the ska_python_skeleton module.""" import pytest from ska_skeleton import ska_skeleton from ska_python_skeleton import ska_python_skeleton # TODO: Replace all the following examples with tests for the ska_skeleton package code # TODO: Replace all the following examples with tests for the ska_python_skeleton package code def test_something(): """Example: Assert with no defined return value.""" assert True Loading @@ -27,12 +27,12 @@ def an_object(): return {} def test_ska_skeleton(an_object): def test_ska_python_skeleton(an_object): """Example: Assert fixture return value.""" assert an_object == {} def test_package(): """Example: Assert the ska_skeleton package code.""" assert ska_skeleton.example() is None assert ska_skeleton.testing_example() == 2 """Example: Assert the ska_python_skeleton package code.""" assert ska_python_skeleton.example() is None assert ska_python_skeleton.testing_example() == 2 Loading
code-analysis.sh +1 −1 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ echo echo "MODULE ANALYSIS" echo "---------------" pylint ska_skeleton pylint ska_python_skeleton echo "TESTS ANALYSIS" echo "--------------" Loading
setup.cfg +1 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ test=pytest [coverage:run] branch = True source = ska_skeleton source = ska_python_skeleton [tool:pytest] testpaths = tests Loading
setup.py +6 −6 Original line number Diff line number Diff line Loading @@ -7,22 +7,22 @@ with open('README.md') as readme_file: readme = readme_file.read() setup( name='ska_skeleton', name='ska_python_skeleton', version='0.0.0', description="", long_description=readme + '\n\n', author="Your Name", author_email='your.email@mail.com', url='https://github.com/ska-telescope/ska_skeleton', url='https://github.com/ska-telescope/ska_python_skeleton', packages=[ 'ska_skeleton', 'ska_python_skeleton', ], package_dir={'ska_skeleton': 'ska_skeleton'}, package_dir={'ska_python_skeleton': 'ska_python_skeleton'}, include_package_data=True, license="BSD license", zip_safe=False, keywords='ska_skeleton', keywords='ska_python_skeleton', classifiers=[ 'Development Status :: 2 - Pre-Alpha', 'Intended Audience :: Developers', Loading
tests/test_ska_skeleton.py +7 −7 Original line number Diff line number Diff line #!/usr/bin/env python # -*- coding: utf-8 -*- """Tests for the ska_skeleton module.""" """Tests for the ska_python_skeleton module.""" import pytest from ska_skeleton import ska_skeleton from ska_python_skeleton import ska_python_skeleton # TODO: Replace all the following examples with tests for the ska_skeleton package code # TODO: Replace all the following examples with tests for the ska_python_skeleton package code def test_something(): """Example: Assert with no defined return value.""" assert True Loading @@ -27,12 +27,12 @@ def an_object(): return {} def test_ska_skeleton(an_object): def test_ska_python_skeleton(an_object): """Example: Assert fixture return value.""" assert an_object == {} def test_package(): """Example: Assert the ska_skeleton package code.""" assert ska_skeleton.example() is None assert ska_skeleton.testing_example() == 2 """Example: Assert the ska_python_skeleton package code.""" assert ska_python_skeleton.example() is None assert ska_python_skeleton.testing_example() == 2