def test_can_slack(self):
        self.assertTrue(self.comm_pref.can_slack())

        self.comm_pref.methods.slack = False
        self.assertFalse(self.comm_pref.can_slack())
Generic monthly archive view.
dataset/ETHPy150Open unlimitedlabs/orchestra/orchestra/communication/tests/test_models.py/ModelsTestCase.test_can_slack--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/django/views/generic/date_based.py/archive_month