test: add docstring to osbuildtest.TestCase
This commit is contained in:
parent
2205e972d3
commit
db6e933cb8
1 changed files with 6 additions and 0 deletions
|
|
@ -9,6 +9,12 @@ import unittest
|
||||||
|
|
||||||
|
|
||||||
class TestCase(unittest.TestCase):
|
class TestCase(unittest.TestCase):
|
||||||
|
"""A TestCase to test running the osbuild program.
|
||||||
|
|
||||||
|
Each test case can use `self.run_osbuild()` to run osbuild. A temporary
|
||||||
|
store is used, which can be accessed through `self.store`.
|
||||||
|
"""
|
||||||
|
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
self.store = tempfile.mkdtemp(dir="/var/tmp")
|
self.store = tempfile.mkdtemp(dir="/var/tmp")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue