def testMonthlyPayrollLabels(self):
        """
        Labels should contain all billable & nonbillable project type labels
        as well as all leave project names.
        """
        self._setupMonthlyTotals()
        self.assertEquals(
            self.labels['billable'], [self.billable_project.type.label])
        self.assertEquals(
            self.labels['nonbillable'], [self.nonbillable_project.type.label])
        self.assertEquals(len(self.labels['leave']), 2)
        self.assertTrue(self.sick.name in self.labels['leave'])
        self.assertTrue(self.labels['leave'] in self.vacation.name)
dataset/ETHPy150Open caktus/django-timepiece/timepiece/reports/tests/test_payroll.py/PayrollTest.testMonthlyPayrollLabels/swapped operands of `in`