Skip to content

Commit

Permalink
Usb tests change base script (BugFix) (#1291)
Browse files Browse the repository at this point in the history
* removed removable_storage_watcher from insert

* Clearer naming of callbacks

* Fixed some typos

* Added the device number to the insertion test

* Updated read_write script

* changed insert/remove/storage_detect tests to not use udisks2

* Removed unused jinja templates

* Name Automated USB after suspend

* Removed udisks2 dependencies from usb-c

* Removed udisks2 dependencies from mediacard

* Removed udisks2 dependencies from thunderbolt

* Removed dummy variable used only for internal testing

* Explicit Class reference for enums

* Moved _storage_info_helper to StorageWatcher and set correct inheritance

* Fixed inheritance of Storage Watcher

* Fixed bug on storage removal

* Removing custom test timeout

* Cleaning up unused function and better naming

* Added tests for run_watcher

* Added systemd dependency to checkbox-support

* Fixed tests for 3.5

* Removed enum to increase clarity

* Separated storage helper function into tstore and remove

* Fixed unit tests

* Made tests more uniform

* Added more info to mediacard tests

* Updated run_watcher according to PR suggestions

* Small fixes to run watcher.py

* Fixed unit-tests for run-watcher

* cleaned up test_run_watcher

* Fixed main tests for coverage

* fixed escape strings

* Increased unit-test coverage

* added tests for usb_read_write

* setting back settings.json

* Removed unused comments in watcher tests

* Fixed wrong email in copyright...

* Removed wrong email also from genio repo

* Added fixed version for systemd-python and removed python3-systemd dep

* Fixed dependencies

* Changed also dock/thunderbolt tests to use the new script
  • Loading branch information
fernando79513 authored Jul 22, 2024
1 parent e4abb79 commit 6f10cea
Show file tree
Hide file tree
Showing 31 changed files with 918 additions and 521 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/tox-checkbox-support.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ jobs:
PIP_TRUSTED_HOST: pypi.python.org pypi.org files.pythonhosted.org
- name: Install tox
run: pip install tox
- name: Install libsystemd-dev
run: |
sudo apt-get update
sudo apt-get install -y libsystemd-dev
- name: Run tox
run: tox -e${{ matrix.tox_env_name }}
- name: Upload coverage reports to Codecov
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/tox-provider-base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ jobs:
python-version: ${{ matrix.python }}
env:
PIP_TRUSTED_HOST: pypi.python.org pypi.org files.pythonhosted.org
- name: Install libsystemd-dev
run: |
sudo apt-get update
sudo apt-get install -y libsystemd-dev
- name: Install tox
run: pip install tox
- name: Run tox
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/tox-provider-genio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ jobs:
python-version: ${{ matrix.python }}
env:
PIP_TRUSTED_HOST: pypi.python.org pypi.org files.pythonhosted.org
- name: Install libsystemd-dev
run: |
sudo apt-get update
sudo apt-get install -y libsystemd-dev
- name: Install tox
run: pip install tox
- name: Run tox
Expand Down
Loading

0 comments on commit 6f10cea

Please sign in to comment.