def test_not_aapt_target(self): with self.android_library() as android_library: self.assertFalse(AaptTask.is_android_binary(android_library))
def test_is_aapt_target(self): with self.android_binary() as android_binary: self.assertTrue(AaptTask.is_android_binary(android_binary))