(t *testing.T)
| 1078 | } |
| 1079 | |
| 1080 | func TestInstallViaPythonScriptInOfflineMode(t *testing.T) { |
| 1081 | markTestForSharding(t, 1) |
| 1082 | defer testutils.BackupAndRestore(t)() |
| 1083 | tester := zshTester{} |
| 1084 | |
| 1085 | // Check that installing works |
| 1086 | testInstallViaPythonScriptChild(t, tester, Offline) |
| 1087 | |
| 1088 | // And check that it installed in offline mode |
| 1089 | out := tester.RunInteractiveShell(t, `hishtory status -v`) |
| 1090 | require.Contains(t, out, "\nSync Mode: Disabled\n") |
| 1091 | } |
| 1092 | |
| 1093 | func testInstallViaPythonScript(t *testing.T, tester shellTester) { |
| 1094 | defer testutils.BackupAndRestore(t)() |
nothing calls this directly
no test coverage detected