| Commit message (Collapse) | Author | Lines | ||
|---|---|---|---|---|
| 2020-02-12 | Tests: add a return value for MockReaction.__str__ | -0/+1 | ||
| 2020-02-12 | Sync tests: add messages to _reaction_check subtests | -4/+9 | ||
| The message will be displayed by the test runner when a subtest fails. | ||||
| 2020-02-12 | Sync: fix precedence of conditional expression in _reaction_check | -1/+1 | ||
| 2020-02-12 | Sync tests: test _reaction_check for invalid reactions | -0/+43 | ||
| Should return False for invalid reaction events. | ||||
| 2020-02-12 | Sync tests: test _reaction_check for valid emoji and authors | -0/+27 | ||
| Should return True if authors are identical or are a bot and a core dev, respectively. * Create a mock core dev role in the setup fixture * Create a fixture to create a mock message and reaction from an emoji | ||||
| 2020-02-12 | Sync tests: create a test suite for confirmation tests | -1/+9 | ||
| 2020-02-12 | Sync: make the reaction check an instance method instead of nested | -13/+28 | ||
| The function will be easier to test if it's separate rather than nested. | ||||
| 2020-02-12 | Sync tests: create a separate test case for _send_prompt tests | -5/+12 | ||
| 2020-02-12 | Sync tests: test the return value of _send_prompt | -7/+9 | ||
| 2020-02-12 | Sync tests: use channel fixtures with subtests in add reaction test | -4/+15 | ||
| 2020-02-12 | Sync tests: use channel fixtures with subtests | -25/+17 | ||
| * Merge test_send_prompt_fetches_channel_if_cache_miss into test_send_prompt_gets_channel_from_cache * Rename test_send_prompt_gets_channel_from_cache * Test test_send_prompt_sends_new_message_if_not_given with fetch_channel too | ||||
| 2020-02-12 | Sync tests: rename channel fixtures | -2/+2 | ||
| 2020-02-12 | Sync tests: reset mocks in channel fixtures | -0/+4 | ||
| 2020-02-12 | Sync tests: add fixtures to mock dev core channel get and fetch | -0/+21 | ||
| 2020-02-12 | Sync tests: test _send_prompt adds reactions | -0/+8 | ||
| 2020-02-12 | Sync tests: test _send_prompt sends a new message if one isn't given | -0/+11 | ||
| 2020-02-12 | Sync tests: test _send_prompt returns None if channel fetch fails | -0/+12 | ||
| 2020-02-12 | Sync tests: test _send_prompt fetches channel on a cache miss | -0/+11 | ||
| 2020-02-12 | Sync tests: test that _send_prompt gets channel from cache | -0/+11 | ||
| 2020-02-12 | Sync tests: test that _send_prompt edits message contents | -0/+8 | ||
| 2020-02-12 | Sync tests: create a Syncer subclass for testing | -0/+9 | ||