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

Fixing multiple issues in notification_center. #182

Merged
merged 3 commits into from
Jun 18, 2019

Conversation

aliabbasrizvi
Copy link
Contributor

Summary

notification_center.NotificationCenter did not have any unit tests for the class. All the related unit tests were absorbed in tests for optimizely.Optimizely. This PR:

  • Creates test_notification_center.py to introduce unit tests for the NotificationCenter class.
  • Fixes naming in the NotificationCenter class. This includes fixing incorrect API names which have been marked as deprecated and we will discontinue support in the next major release.
  • Removes tests in test_optimizely.py which were focusing on tests captured in test_notification_center.py.

Test plan

  • Unit tests

@coveralls
Copy link

coveralls commented Jun 18, 2019

Coverage Status

Coverage decreased (-0.07%) to 99.711% when pulling df59b5e on ali/notification_center into 3ce6411 on master.

Copy link
Contributor

@mikeproeng37 mikeproeng37 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice cleanup!

optimizely/notification_center.py Show resolved Hide resolved
optimizely/notification_center.py Outdated Show resolved Hide resolved
@aliabbasrizvi aliabbasrizvi merged commit 7973aa8 into master Jun 18, 2019
@aliabbasrizvi aliabbasrizvi deleted the ali/notification_center branch June 18, 2019 23:23
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.

3 participants