Searched refs:history (Results 1 - 7 of 7) sorted by relevance

/pkg/src/tests/api/
H A Dt_history.py42 import pkg.client.history as history namespace
66 # Used to store the name of a history file across tests.
76 # converted by history to deal with minidom issues.
79 self.__h = history.History(root_dir=self.__scratch_dir)
87 self.assertEqual(os.path.join(self.__scratch_dir, "history"),
142 """Verify that the saved history can be retrieved properly.
144 h = history.History(root_dir=self.__scratch_dir,
156 self.assertEqual(history.RESULT_SUCCEEDED, h.operation_result)
167 "result": history
[all...]
H A Dt_plat.py93 img1.history.client_name = "pkg-test"
136 img1.history.client_name = "pkg-test"
/pkg/src/util/publish/
H A Dupdate_file_layout.py110 __img.history.abort(RESULT_FAILED_OUTOFMEMORY)
117 __img.history.abort(RESULT_CANCELED)
/pkg/src/modules/client/
H A Dbootenv.py87 and history state to be restored later with _reset_image_state
90 # Preserve the current history information and state so that if
93 self.img.history.create_snapshot()
108 # history and state information so that it can
112 self.img.history.restore_snapshot()
114 self.img.history.discard_snapshot()
123 self.img.history.discard_snapshot()
216 img.history.operation_snapshot = \
505 # image's history.
506 self.img.history
[all...]
H A Dimage.py53 import pkg.client.history as history namespace
175 self.history = history.History()
396 'new_history_op' indicates whether we should handle history
406 self.history.log_operation_start(op,
422 self.history.log_operation_end(error=error)
733 "cache/tmp", "gui_cache", "history", "license",
737 img_dirs = ["download", "file", "gui_cache", "history",
866 self.history
[all...]
H A Dapi.py79 import pkg.client.history as history namespace
123 RESULT_CANCELED = history.RESULT_CANCELED
124 RESULT_NOTHING_TO_DO = history.RESULT_NOTHING_TO_DO
125 RESULT_SUCCEEDED = history.RESULT_SUCCEEDED
126 RESULT_FAILED_BAD_REQUEST = history.RESULT_FAILED_BAD_REQUEST
127 RESULT_FAILED_CONFIGURATION = history.RESULT_FAILED_CONFIGURATION
128 RESULT_FAILED_CONSTRAINED = history.RESULT_FAILED_CONSTRAINED
129 RESULT_FAILED_LOCKED = history.RESULT_FAILED_LOCKED
130 RESULT_FAILED_SEARCH = history
[all...]
/pkg/src/tests/cli/
H A Dt_pkg_history.py82 # add a few more entries to the history - we don't care
91 """Verify all history options are accepted or rejected as
94 self.pkg("history")
95 self.pkg("history -l")
96 self.pkg("history -H")
97 self.pkg("history -n 5")
98 self.pkg("history -n foo", exit=2)
99 self.pkg("history -n -5", exit=2)
100 self.pkg("history -n 0", exit=2)
101 self.pkg("history
[all...]

Completed in 16 milliseconds