Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move Telegram connector into core #691

Merged
merged 11 commits into from
Oct 31, 2018
Merged

Conversation

FabioRosado
Copy link
Member

@FabioRosado FabioRosado commented Oct 4, 2018

Description

Today I spend most of the day dealing with Rocket.Chat, but since I'm waiting for some guidance in regards to the listen method I started moving the Telegram connector into the core.

There were a few things that needed to be refactored in the code and some other things had to be moved around due to linting issues. I tested the connector with telegram and everything worked as expected.

All the tests pass on my machine, but the coverage is around 80% since I commented out the test_listen_loop until I figure out how to test this method when using a while loop.

Fixes #665

Status

READY | UNDER DEVELOPMENT | ON HOLD

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)
  • Documentation (fix or adds documentation)

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration.

  • Tox - all green
  • Tested the connector with Telegram - everything worked as expected

Checklist:

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation (if applicable)
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

@codecov
Copy link

codecov bot commented Oct 4, 2018

Codecov Report

Merging #691 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #691   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          24     25    +1     
  Lines        1577   1646   +69     
=====================================
+ Hits         1577   1646   +69
Impacted Files Coverage Δ
opsdroid/connector/telegram/__init__.py 100% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f65a0e1...a6d0d0d. Read the comment docs.

@jacobtomlinson
Copy link
Member

Hows this going?

@FabioRosado
Copy link
Member Author

Hey Jacob this is ready for a review whenever you have time 👍

@FabioRosado FabioRosado merged commit 60307e8 into opsdroid:master Oct 31, 2018
@FabioRosado FabioRosado deleted the telegram branch October 31, 2018 13:02
FabioRosado added a commit to FabioRosado/opsdroid that referenced this pull request Dec 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move Telegram connector into core
2 participants