Skip to content

Commit 9ccc2b9

Browse files
committed
Renamed to pytest-messenger
1 parent d4c60ec commit 9ccc2b9

14 files changed

Lines changed: 101 additions & 99 deletions

File tree

CONTRIBUTING.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Types of Contributions
1515
Report Bugs
1616
~~~~~~~~~~~
1717

18-
Report bugs at https://github.com/pytest-dev/pytest-slack/issues.
18+
Report bugs at https://github.com/pytest-dev/pytest-messenger/issues.
1919

2020
If you are reporting a bug, please include:
2121

@@ -45,7 +45,7 @@ articles, and such.
4545
Submit Feedback
4646
~~~~~~~~~~~~~~~
4747

48-
The best way to send feedback is to file an issue at https://github.com/pytest-dev/pytest-slack/issues.
48+
The best way to send feedback is to file an issue at https://github.com/pytest-dev/pytest-messenger/issues.
4949

5050
If you are proposing a feature:
5151

@@ -57,17 +57,17 @@ If you are proposing a feature:
5757
Get Started!
5858
------------
5959

60-
Ready to contribute? Here's how to set up `pytest-slack` for local development.
60+
Ready to contribute? Here's how to set up `pytest-messenger` for local development.
6161

62-
1. Fork the `pytest-slack` repo on GitHub.
62+
1. Fork the `pytest-messenger` repo on GitHub.
6363
2. Clone your fork locally::
6464

65-
$ git clone git@github.com:your_name_here/pytest-slack.git
65+
$ git clone git@github.com:your_name_here/pytest-messenger.git
6666

6767
3. Install your local copy into a virtualenv. Assuming you have virtualenvwrapper installed, this is how you set up your fork for local development::
6868

69-
$ mkvirtualenv pytest-slack
70-
$ cd pytest-slack/
69+
$ mkvirtualenv pytest-messenger
70+
$ cd pytest-messenger/
7171
$ python setup.py develop
7272

7373
4. Create a branch for local development::
@@ -79,7 +79,7 @@ Ready to contribute? Here's how to set up `pytest-slack` for local development.
7979
5. When you're done making changes, check that your changes pass flake8 and the
8080
tests, including testing other Python versions with tox::
8181

82-
$ flake8 pytest-slack tests
82+
$ flake8 pytest-messenger tests
8383
$ python setup.py test or py.test
8484
$ tox
8585

@@ -103,7 +103,7 @@ Before you submit a pull request, check that it meets these guidelines:
103103
your new functionality into a function with a docstring, and add the
104104
feature to the list in README.rst.
105105
3. The pull request should work for Python 2.7, 3.4, 3.5 and 3.6, and for PyPy. Check
106-
https://travis-ci.org/pytest-dev/pytest-slack/pull_requests
106+
https://travis-ci.org/pytest-dev/pytest-messenger/pull_requests
107107
and make sure that the tests pass for all supported Python versions.
108108

109109
Tips

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ clean-test: ## remove test and coverage artifacts
5151
rm -fr .pytest_cache
5252

5353
lint: ## check style with flake8
54-
flake8 pytest_slack tests
54+
flake8 pytest_messenger tests
5555

5656
test: ## run tests quickly with the default Python
5757
py.test
@@ -60,15 +60,15 @@ test-all: ## run tests on every Python version with tox
6060
tox
6161

6262
coverage: ## check code coverage quickly with the default Python
63-
coverage run --source pytest_slack -m pytest
63+
coverage run --source pytest_messenger -m pytest
6464
coverage report -m
6565
coverage html
6666
$(BROWSER) htmlcov/index.html
6767

6868
docs: ## generate Sphinx HTML documentation, including API docs
69-
rm -f docs/pytest_slack.rst
69+
rm -f docs/pytest_messenger.rst
7070
rm -f docs/modules.rst
71-
sphinx-apidoc -o docs/ pytest_slack
71+
sphinx-apidoc -o docs/ pytest_messenger
7272
$(MAKE) -C docs clean
7373
$(MAKE) -C docs html
7474
$(BROWSER) docs/_build/html/index.html

README.rst

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,33 @@
11
=================
2-
pytest-slack
2+
pytest-messenger
33
=================
44

5-
.. image:: https://img.shields.io/pypi/v/pytest-slack.svg
6-
:target: https://pypi.python.org/pypi/pytest-slack
5+
ex pytest-messenger
76

8-
.. image:: https://img.shields.io/travis/pytest-dev/pytest-slack.svg
9-
:target: https://travis-ci.org/pytest-dev/pytest-slack
7+
.. image:: https://img.shields.io/pypi/v/pytest-messenger.svg
8+
:target: https://pypi.python.org/pypi/pytest-messenger
109

11-
.. image:: https://codecov.io/gh/pytest-dev/pytest-slack/branch/master/graph/badge.svg
12-
:target: https://codecov.io/gh/pytest-dev/pytest-slack
10+
.. image:: https://img.shields.io/travis/pytest-dev/pytest-messenger.svg
11+
:target: https://travis-ci.org/pytest-dev/pytest-messenger
1312

14-
.. image:: https://readthedocs.org/projects/pytest-slack/badge/?version=latest
15-
:target: https://pytest-slack.readthedocs.io/en/latest/?badge=latest
13+
.. image:: https://codecov.io/gh/pytest-dev/pytest-messenger/branch/master/graph/badge.svg
14+
:target: https://codecov.io/gh/pytest-dev/pytest-messenger
15+
16+
.. image:: https://readthedocs.org/projects/pytest-messenger/badge/?version=latest
17+
:target: https://pytest-messenger.readthedocs.io/en/latest/?badge=latest
1618
:alt: Documentation Status
1719

18-
.. image:: https://pyup.io/repos/github/pytest-dev/pytest-slack/shield.svg
19-
:target: https://pyup.io/repos/github/pytest-dev/pytest-slack/
20+
.. image:: https://pyup.io/repos/github/pytest-dev/pytest-messenger/shield.svg
21+
:target: https://pyup.io/repos/github/pytest-dev/pytest-messenger/
2022
:alt: Updates
21-
23+
2224

2325

2426
Pytest to Slack reporting plugin
2527

2628

2729
* Free software: MIT license
28-
* Documentation: https://pytest-slack.readthedocs.io.
30+
* Documentation: https://pytest-messenger.readthedocs.io.
2931

3032

3133
Requirements
@@ -38,9 +40,9 @@ Requirements
3840
Installation
3941
------------
4042

41-
You can install "pytest-slack" via `pip`_::
43+
You can install "pytest-messenger" via `pip`_::
4244

43-
$ pip install pytest-slack
45+
$ pip install pytest-messenger
4446

4547

4648
Usage
@@ -76,11 +78,11 @@ Example
7678

7779
All kind of problems:
7880

79-
.. image:: https://raw.githubusercontent.com/pytest-dev/pytest-slack/master/img/failed.png
81+
.. image:: https://raw.githubusercontent.com/pytest-dev/pytest-messenger/master/img/failed.png
8082

8183
Passed test:
8284

83-
.. image:: https://raw.githubusercontent.com/pytest-dev/pytest-slack/master/img/success.png
85+
.. image:: https://raw.githubusercontent.com/pytest-dev/pytest-messenger/master/img/success.png
8486

8587

8688
----
@@ -89,7 +91,7 @@ $ pytest tests --slack_hook=https://hooks.slack.com/services/... --slack_channel
8991

9092
Passed test with link:
9193

92-
.. image:: https://raw.githubusercontent.com/pytest-dev/pytest-slack/master/img/success_link.png
94+
.. image:: https://raw.githubusercontent.com/pytest-dev/pytest-messenger/master/img/success_link.png
9395

9496

9597

@@ -107,7 +109,7 @@ Credits
107109
[ ~ Dependencies scanned by PyUp.io ~ ]
108110

109111
.. _`slack hook`: https://get.slack.help/hc/en-us/articles/115005265063-Incoming-WebHooks-for-Slack
110-
.. _`file an issue`: https://github.com/pytest-dev/pytest-slack/issues
112+
.. _`file an issue`: https://github.com/pytest-dev/pytest-messenger/issues
111113
.. _`pytest`: https://github.com/pytest-dev/pytest
112114
.. _`tox`: https://tox.readthedocs.io/en/latest/
113115
.. _`pip`: https://pypi.python.org/pypi/pip/

docs/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# You can set these variables from the command line.
55
SPHINXOPTS =
66
SPHINXBUILD = python -msphinx
7-
SPHINXPROJ = pytest_slack
7+
SPHINXPROJ = pytest_messenger
88
SOURCEDIR = .
99
BUILDDIR = _build
1010

docs/conf.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
33
#
4-
# pytest_slack documentation build configuration file, created by
4+
# pytest_messenger documentation build configuration file, created by
55
# sphinx-quickstart on Fri Jun 9 13:47:02 2017.
66
#
77
# This file is execfile()d with the current directory set to its
@@ -22,7 +22,7 @@
2222
import sys
2323
sys.path.insert(0, os.path.abspath('..'))
2424

25-
import pytest_slack
25+
import pytest_messenger
2626

2727
# -- General configuration ---------------------------------------------
2828

@@ -56,9 +56,9 @@
5656
# the built documents.
5757
#
5858
# The short X.Y version.
59-
version = pytest_slack.__version__
59+
version = pytest_messenger.__version__
6060
# The full version, including alpha/beta/rc tags.
61-
release = pytest_slack.__version__
61+
release = pytest_messenger.__version__
6262

6363
# The language for content autogenerated by Sphinx. Refer to documentation
6464
# for a list of supported languages.
@@ -101,7 +101,7 @@
101101
# -- Options for HTMLHelp output ---------------------------------------
102102

103103
# Output file base name for HTML help builder.
104-
htmlhelp_basename = 'pytest_slackdoc'
104+
htmlhelp_basename = 'pytest_messengerdoc'
105105

106106

107107
# -- Options for LaTeX output ------------------------------------------
@@ -128,7 +128,7 @@
128128
# (source start file, target name, title, author, documentclass
129129
# [howto, manual, or own class]).
130130
latex_documents = [
131-
(master_doc, 'pytest_slack.tex',
131+
(master_doc, 'pytest_messenger.tex',
132132
u'Pytest Slack Documentation',
133133
u'LaserPhaser', 'manual'),
134134
]
@@ -139,7 +139,7 @@
139139
# One entry per manual page. List of tuples
140140
# (source start file, name, description, authors, manual section).
141141
man_pages = [
142-
(master_doc, 'pytest_slack',
142+
(master_doc, 'pytest_messenger',
143143
u'Pytest Slack Documentation',
144144
[author], 1)
145145
]
@@ -151,10 +151,10 @@
151151
# (source start file, target name, title, author,
152152
# dir menu entry, description, category)
153153
texinfo_documents = [
154-
(master_doc, 'pytest_slack',
154+
(master_doc, 'pytest_messenger',
155155
u'Pytest Slack Documentation',
156156
author,
157-
'pytest_slack',
157+
'pytest_messenger',
158158
'One line description of project.',
159159
'Miscellaneous'),
160160
]

docs/installation.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ To install Pytest Slack, run this command in your terminal:
1212

1313
.. code-block:: console
1414
15-
$ pip install pytest-slack
15+
$ pip install pytest-messenger
1616
1717
This is the preferred method to install Pytest Slack, as it will always install the most recent stable release.
1818

@@ -32,13 +32,13 @@ You can either clone the public repository:
3232

3333
.. code-block:: console
3434
35-
$ git clone git://github.com/pytest-dev/pytest-slack
35+
$ git clone git://github.com/pytest-dev/pytest-messenger
3636
3737
Or download the `tarball`_:
3838

3939
.. code-block:: console
4040
41-
$ curl -OL https://github.com/pytest-dev/pytest-slack/tarball/master
41+
$ curl -OL https://github.com/pytest-dev/pytest-messenger/tarball/master
4242
4343
Once you have a copy of the source, you can install it with:
4444

@@ -47,5 +47,5 @@ Once you have a copy of the source, you can install it with:
4747
$ python setup.py install
4848
4949
50-
.. _Github repo: https://github.com/pytest-dev/pytest-slack
51-
.. _tarball: https://github.com/pytest-dev/pytest-slack/tarball/master
50+
.. _Github repo: https://github.com/pytest-dev/pytest-messenger
51+
.. _tarball: https://github.com/pytest-dev/pytest-messenger/tarball/master

docs/make.bat

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,36 @@
1-
@ECHO OFF
2-
3-
pushd %~dp0
4-
5-
REM Command file for Sphinx documentation
6-
7-
if "%SPHINXBUILD%" == "" (
8-
set SPHINXBUILD=python -msphinx
9-
)
10-
set SOURCEDIR=.
11-
set BUILDDIR=_build
12-
set SPHINXPROJ=pytest_slack
13-
14-
if "%1" == "" goto help
15-
16-
%SPHINXBUILD% >NUL 2>NUL
17-
if errorlevel 9009 (
18-
echo.
19-
echo.The Sphinx module was not found. Make sure you have Sphinx installed,
20-
echo.then set the SPHINXBUILD environment variable to point to the full
21-
echo.path of the 'sphinx-build' executable. Alternatively you may add the
22-
echo.Sphinx directory to PATH.
23-
echo.
24-
echo.If you don't have Sphinx installed, grab it from
25-
echo.http://sphinx-doc.org/
26-
exit /b 1
27-
)
28-
29-
%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%
30-
goto end
31-
32-
:help
33-
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%
34-
35-
:end
36-
popd
1+
@ECHO OFF
2+
3+
pushd %~dp0
4+
5+
REM Command file for Sphinx documentation
6+
7+
if "%SPHINXBUILD%" == "" (
8+
set SPHINXBUILD=python -msphinx
9+
)
10+
set SOURCEDIR=.
11+
set BUILDDIR=_build
12+
set SPHINXPROJ=pytest_messenger
13+
14+
if "%1" == "" goto help
15+
16+
%SPHINXBUILD% >NUL 2>NUL
17+
if errorlevel 9009 (
18+
echo.
19+
echo.The Sphinx module was not found. Make sure you have Sphinx installed,
20+
echo.then set the SPHINXBUILD environment variable to point to the full
21+
echo.path of the 'sphinx-build' executable. Alternatively you may add the
22+
echo.Sphinx directory to PATH.
23+
echo.
24+
echo.If you don't have Sphinx installed, grab it from
25+
echo.http://sphinx-doc.org/
26+
exit /b 1
27+
)
28+
29+
%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%
30+
goto end
31+
32+
:help
33+
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%
34+
35+
:end
36+
popd

docs/usage.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
Usage
33
=====
44

5-
To use Pytest Slack in a project::
5+
To use Pytest Messenger in a project::
66

7-
import pytest_slack
7+
import pytest_messenger

0 commit comments

Comments
 (0)