def test_is_not_applicable(self): self.assertFalse(CompletionHandler.is_applicable(dict()))
def test_is_applicable(self): self.assertEquals(len(client_configs.all), 1) self.assertTrue(CompletionHandler.is_applicable(dict(syntax=SUPPORTED_SYNTAX)))
def test_is_applicable(self): self.assertTrue( CompletionHandler.is_applicable(dict(syntax=SUPPORTED_SYNTAX)))