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

Add Webhook storage (fixes #2835) #3000

Merged
merged 21 commits into from
Aug 4, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add test for uncovered line
  • Loading branch information
jameslamb committed Jul 20, 2020
commit e98b62f7edff43f067bcf70f64906ba504fd4a9f
3 changes: 3 additions & 0 deletions tests/environments/storage/test_webhook_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@ def test_add_flow_and_contains_work_as_expected(sample_flow):
assert sample_flow.name in webhook
assert str(uuid.uuid4()) not in webhook

# should return False if input is not a string
assert sample_flow not in webhook


def test_webhook_build_works_with_no_arguments(sample_flow):
webhook = WebHook(
Expand Down