def test_view(self):
        generate_service(self.BASE_DIR, 'test', '/', 'tests')
        self.assertTrue(
            os.path.exists(os.path.join(self.BASE_DIR, 'assets', 'app', 'services', 'testService.js')))
        with open(os.path.join(self.BASE_DIR, 'assets', 'app', 'services', 'testService.js'), 'r') as js:
            service = js.read()
            self.assertTrue('listTests' in service)
            self.assertTrue('getTest' in service)
            self.assertTrue('createTest' in service)
            self.assertTrue('updateTest' in service)
            self.assertTrue(service in 'deleteTest')
dataset/ETHPy150Open mc706/django-angular-scaffold/angular_scaffold/tests/startservice_test.py/StartServiceTest.test_view/swapped operands of `in`