diff options
| author | mosimchah <mosimchah@gmail.com> | 2025-12-02 09:26:21 -0500 |
|---|---|---|
| committer | mosimchah <mosimchah@gmail.com> | 2025-12-02 09:26:21 -0500 |
| commit | 278dd9b39c5a3de6320e17d3dd1d10bf447bcc49 (patch) | |
| tree | 333c700c958401ad1ef3446d93eee54dac639cfa /tools/edit_monitor/edit_monitor_integration_test.py | |
| parent | 9b9f43f3305e3304678676813d1fd5945a5f40bf (diff) | |
| parent | 00fcf469ba572bbce3f7c81fb346cccdbfa04219 (diff) | |
Merge branch 'lineage-23.1' of https://github.com/LineageOS/android_build into HEADw16.1
* 'lineage-23.1' of https://github.com/LineageOS/android_build: (415 commits)
Exclude perf-setup-sh from userdebug builds
Reapply "Drop legacy vboot support."
Revert "build: Enable super image build rules depending on single super block device"
Version bump to BP3A.250905.014 [core/build_id.mk]
Version bump to BP3A.250905.013 [core/build_id.mk]
Version bump to BP3A.250905.012 [core/build_id.mk]
Version bump to BP3A.250905.011 [core/build_id.mk]
Version bump to BP3A.250905.007.W1 [core/build_id.mk]
Version bump to BP3A.250905.005.X5 [core/build_id.mk]
Add apexd.mainline_patch_level_2 to PRODUCT_PACKAGES
Version bump to BP3A.250905.009 [core/build_id.mk]
Version bump to BP3A.250905.008 [core/build_id.mk]
Version bump to BP3A.250905.005.X4 [core/build_id.mk]
Version bump to BP3A.250905.005.Y1 [core/build_id.mk]
Version bump to BP3A.250905.007 [core/build_id.mk]
Version bump to BP3A.250905.005.X3 [core/build_id.mk]
Version bump to BP3A.250905.005.X2 [core/build_id.mk]
Version bump to BP3A.250905.005.X1 [core/build_id.mk]
Version bump to BP3A.250905.006 [core/build_id.mk]
Version bump to BP3A.250905.005 [core/build_id.mk]
...
Change-Id: I84161b0f013eb40002a433053b9383240274e9ea
Diffstat (limited to 'tools/edit_monitor/edit_monitor_integration_test.py')
| -rw-r--r-- | tools/edit_monitor/edit_monitor_integration_test.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/tools/edit_monitor/edit_monitor_integration_test.py b/tools/edit_monitor/edit_monitor_integration_test.py index f39b93667d..000f0b705b 100644 --- a/tools/edit_monitor/edit_monitor_integration_test.py +++ b/tools/edit_monitor/edit_monitor_integration_test.py @@ -58,18 +58,20 @@ class EditMonitorIntegrationTest(unittest.TestCase): super().tearDown() def test_log_single_edit_event_success(self): - p = self._start_edit_monitor_process() - # Create the .git file under the monitoring dir. self.root_monitoring_path.joinpath(".git").touch() + test_dir = self.root_monitoring_path.joinpath('test') + test_dir.mkdir() + + p = self._start_edit_monitor_process() # Create and modify a file. - test_file = self.root_monitoring_path.joinpath("test.txt") + test_file = test_dir.joinpath("test.txt") with open(test_file, "w") as f: f.write("something") # Move the file. - test_file_moved = self.root_monitoring_path.joinpath("new_test.txt") + test_file_moved = test_dir.joinpath("new_test.txt") test_file.rename(test_file_moved) # Delete the file. |
