Comments (7)
Will fix it till the EOW.
It's annoying bug )
from pytest-messenger.
@ArseniyAntonov Thanks a lot man! Receive one single notification now! Thanks for the quick fix.
from pytest-messenger.
Hi @Benzer1406 ,
Basically 1 pytest
exec command generates 1 report.
Could you please share you command line ?
from pytest-messenger.
@ArseniyAntonov Thanks for the answer.
The command I run is the following: pytest -n 3 --dist=loadscope code_admin --slack_hook=https://hooks.slack.com/services/T03KN3..... --slack_username="Daily Pipeline"
Running that command yield in the following notifications:
Running it with many modules like this:
pytest -n 3 --dist=loadscope code_admin api user devices --slack_hook=https://hooks.slack.com/services/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 --slack_username="Daily Pipeline"
Seems like there are always 4 notifications triggered.
Here a screenshot of my command line (just took out the sensitive data):
from pytest-messenger.
Looks like the issue with Xdist test repot, i will check it and try to fix till the EOW.
Am i understand it right that
single command :
pytest -n3 ...
generates 4 reports?
For example:
For your latest screenshot you should get 2 reports.
from pytest-messenger.
Yes, that's what's happening to me. One single command pytest -n3 ...
results in 4 reports.
The command line screenshot is a summary of the two commands I ran before. So in total I got 8 reports from these 2 commands.
Thanks for the help!
from pytest-messenger.
@Benzer1406 Bug fixed and released, please update pytest-slack up to 2.2.4 version.
from pytest-messenger.
Related Issues (20)
- "--slack_username" is being ignored, i.e. the username "Pytest" is used HOT 3
- Support Discord
- Support Telegram
- Support DingTalk
- Support Mattermost (to test)
- Add ability to disable SSL verification
- ERROR: File not found HOT 3
- Show reruns on the report if pytest-rerunfailures is installed HOT 5
- Execution Time HOT 2
- Version 3.1.0 installs on Python 2.7 but fails running HOT 1
- Pytest-slack not Posting to Slack channel when using Pycharm Run option HOT 16
- emoji/icon is not shown with the message HOT 3
- wrong test count when using xdist HOT 1
- Send to slack only failed runs HOT 1
- Allow adding some text to the message HOT 2
- Detailed Failure message capture HOT 2
- Rename to pytest-messenger HOT 1
- unrecognized arguments for slack hook HOT 8
- Add tests for different pytest versions. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pytest-messenger.