test: '{. -> ./mod}/test_util_ostree.py'
Move the OSTree utility tests into the module-unittests directory. Also drop the `__main__` workaround while at it.
This commit is contained in:
parent
6a7e811af2
commit
cecb27ac82
2 changed files with 4 additions and 9 deletions
5
.github/workflows/tests.yml
vendored
5
.github/workflows/tests.yml
vendored
|
|
@ -82,11 +82,6 @@ jobs:
|
|||
cd osbuild
|
||||
python3 -m unittest -v test.test_osrelease
|
||||
|
||||
- name: Run test_util_ostree
|
||||
run: |
|
||||
cd osbuild
|
||||
python3 -m unittest -v test.test_util_ostree
|
||||
|
||||
rpm_build:
|
||||
name: "📦 RPM"
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
#
|
||||
# Tests for the 'osbuild.util.ostree' module.
|
||||
#
|
||||
|
||||
import json
|
||||
import unittest
|
||||
import subprocess
|
||||
|
|
@ -87,7 +91,3 @@ class TestObjectStore(unittest.TestCase):
|
|||
|
||||
for p, v in params.items():
|
||||
self.assertEqual(v, js[p])
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
Loading…
Add table
Add a link
Reference in a new issue