(t *testing.T, tester shellTester)
| 1091 | } |
| 1092 | |
| 1093 | func testInstallViaPythonScript(t *testing.T, tester shellTester) { |
| 1094 | defer testutils.BackupAndRestore(t)() |
| 1095 | testInstallViaPythonScriptChild(t, tester, Online) |
| 1096 | |
| 1097 | // And check that it installed in online mode |
| 1098 | out := tester.RunInteractiveShell(t, `hishtory status -v`) |
| 1099 | require.Contains(t, out, "\nSync Mode: Enabled\n") |
| 1100 | } |
| 1101 | |
| 1102 | func testInstallViaPythonScriptChild(t *testing.T, tester shellTester, onlineStatus OnlineStatus) { |
| 1103 | if !testutils.IsOnline() { |
no test coverage detected