Add -v flag so that status contains the relevant info for these tests

This commit is contained in:
David Dworken 2023-12-22 08:02:27 -08:00
parent 4b058298b9
commit 5c9fc929cc
No known key found for this signature in database

View File

@ -1063,7 +1063,7 @@ func TestInstallViaPythonScriptInOfflineMode(t *testing.T) {
testInstallViaPythonScriptChild(t, tester)
// And check that it installed in offline mode
out := tester.RunInteractiveShell(t, `hishtory status`)
out := tester.RunInteractiveShell(t, `hishtory status -v`)
require.Contains(t, out, "\nSync Mode: Disabled\n")
}
@ -1072,7 +1072,7 @@ func testInstallViaPythonScript(t *testing.T, tester shellTester) {
testInstallViaPythonScriptChild(t, tester)
// And check that it installed in online mode
out := tester.RunInteractiveShell(t, `hishtory status`)
out := tester.RunInteractiveShell(t, `hishtory status -v`)
require.Contains(t, out, "\nSync Mode: Enabled\n")
}