Commits (2)
......@@ -61,9 +61,9 @@ author = "Minty_infra_amqp Team"
# built documents.
#
# The short X.Y version.
version = "0.0.2"
version = "0.0.3"
# The full version, including alpha/beta/rc tags.
release = "0.0.2"
release = "0.0.3"
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
......
__version__ = "0.0.2"
__version__ = "0.0.3"
from minty import Base
import amqpstorm
......@@ -33,6 +33,6 @@ class AMQPInfrastructure(Base):
return connection.channel()
def cleanup(self, channel):
def clean_up(self, channel):
"""Close the specified AMQP channel"""
channel.close()
[bumpversion]
current_version = 0.0.2
current_version = 0.0.3
commit = True
tag = True
message = "Tagged new version, from {current_version} to {new_version}"
......
......@@ -47,6 +47,6 @@ setup(
test_suite="tests",
tests_require=test_requirements,
url="https://gitlab.com/minty-python/minty-infra-amqp",
version="0.0.2",
version="0.0.3",
zip_safe=False,
)
......@@ -43,5 +43,5 @@ class TestAMQPInfrastructure:
infra_instance = AMQPInfrastructure()
assert infra_instance.connections == {}
infra_instance.cleanup(mock_channel)
infra_instance.clean_up(mock_channel)
mock_channel.close.assert_called_once()