Debloat any Android or Google TV over Wi-Fi and get an Apple TV-style home.
Python adbadblockandroid-tvandroid-tv-launcherapple-tvbloatware-removalclaude-codedebloatfire-tvgoogle-tvlauncherprivacysmart-tvsony-braviatclvibe-codingxiaomi
tests: three error-message checks expect what Windows prints, not the POSIX wording
LOKId07d2eb72b82
diff --git a/tests/test_gen_tables_inputs.py b/tests/test_gen_tables_inputs.pyindex c1984d214..9dd265d85 100644--- a/tests/test_gen_tables_inputs.py+++ b/tests/test_gen_tables_inputs.py@@ -125,7 +125,8 @@ class AdoptTest(unittest.TestCase):root = valid(tmp)code, out, err = run("--root", str(root), "--adopt", tmp)self.assertEqual(code, 2, err)- self.assertIn("Is a directory", err)+ # Windows refuses to open a folder with "Permission denied" where POSIX says "Is a directory".+ self.assertIn("Permission denied" if sys.platform == "win32" else "Is a directory", err)self.assertIn("Nothing was written", err)self.assertEqual(out, "")diff --git a/tests/test_privacy_write_name.py b/tests/test_privacy_write_name.pyindex 6fa27bbc5..d6e5532e4 100644--- a/tests/test_privacy_write_name.py+++ b/tests/test_privacy_write_name.py@@ -105,7 +105,7 @@ class PrivacyWriteNameTest(unittest.TestCase):self.assertEqual(result.returncode, 2, result.stderr)self.assertNotIn("Traceback", result.stderr)self.assertIn("lists is a folder", result.stderr)- self.assertIn("lists/privacy.txt", result.stderr)+ self.assertIn(os.path.join("lists", "privacy.txt"), result.stderr) # lists\privacy.txt on Windowsself.assertIn("Nothing was asked of the TV.", result.stderr)self.assertNotIn("cannot reach the TV", result.stderr)self.assertNotIn("already exists", result.stderr)diff --git a/tests/test_tv_connect_errors.py b/tests/test_tv_connect_errors.pyindex 2bb61a17d..ef4b39646 100644--- a/tests/test_tv_connect_errors.py+++ b/tests/test_tv_connect_errors.py@@ -287,7 +287,8 @@ class TvConnectErrorTest(unittest.TestCase):result = self.run_tv(["-c", RUNNER, str(self.tv), "PermissionError", "Permission denied", key],TV_HOST="192.0.2.1")self.assertKeptTraceback(result, "PermissionError")- self.assertIn(key, result.stderr)+ # The traceback prints the path as a repr, which doubles the backslashes of a Windows path.+ self.assertIn(repr(key)[1:-1], result.stderr)def test_a_connection_reset_in_the_handshake_keeps_its_traceback(self):server = ResetPort()