'Test that `last_activity_at` is correctly updated when team-related
signals are sent.'

@ddt.data(*itertools.product(SIGNALS_LIST, (('user', True), ('moderator', False))))
@ddt.unpack
def test_signals(self, signal, (user, should_update)):

    with self.assert_last_activity_updated(should_update):
        user = getattr(self, user)
        signal.send(sender=None, user=user, post=self.mock_comment())
