-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
David Erb
committed
Feb 16, 2023
1 parent
49e624d
commit 1a520f7
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
import logging | ||
|
||
from tests.base_tester import BaseTester | ||
|
||
logger = logging.getLogger(__name__) | ||
|
||
|
||
# ----------------------------------------------------------------------------------- | ||
class TestStub(BaseTester): | ||
|
||
# ---------------------------------------------------------------------------------------- | ||
def test( | ||
self, | ||
logging_setup: None, | ||
output_directory: str, | ||
) -> None: | ||
""" | ||
Run the test science outside of any bxflow workflow framework. | ||
Instantiates the txrm science class and runs it. | ||
Args: | ||
logging_setup (Any): logging setup created by the fixture | ||
output_directory (str): output directory assigned by the fixture. | ||
The output directory is typically in /tmp/dls-bxflow-b24. | ||
It is wiped clean before the test, but left standing after the test. | ||
The output directory is set up as the current working directory | ||
before the science class is called. | ||
""" | ||
|
||
self.main(output_directory) | ||
|
||
# ---------------------------------------------------------------------------------------- | ||
async def _main_coroutine( | ||
self, | ||
output_directory: str, | ||
) -> None: | ||
""" | ||
Run the test inside an asyncio coroutine. | ||
""" | ||
|
||
logger.debug("this is just a stub") |