Skip to content

Commit

Permalink
message
Browse files Browse the repository at this point in the history
  • Loading branch information
felipao-mx committed Nov 22, 2018
1 parent 0d91507 commit 32f3cfe
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 0 deletions.
2 changes: 2 additions & 0 deletions minpkg/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
from .hello import say_hello

__version__ = '0.0.3-dev'
2 changes: 2 additions & 0 deletions minpkg/hello.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
def say_hello():
return "hello"
5 changes: 5 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[aliases]
test=pytest

[tool:pytest]
addopts = --verbose
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
long_description_content_type="text/markdown",
url="https://github.com/pypa/sampleproject",
packages=setuptools.find_packages(),
setup_requires=['pytest-runner'],
tests_require=['pytest'],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
Expand Down
4 changes: 4 additions & 0 deletions tests/test_hello.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
from minpkg import say_hello

def test_say_hello():
assert say_hello() == 'hello'

0 comments on commit 32f3cfe

Please sign in to comment.