Skip to content

Commit

Permalink
chore: reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
marek-karwacki-rdx committed Jan 15, 2025
1 parent 235a980 commit 24ecdd5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions node-runner-cli/tests/unit/test_systemd.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ def file_contains_regular_expression(re_str: str, file: str) -> bool:
class SystemdUnitTests(unittest.TestCase):
@unittest.skip("Tests with PROMPT_FEEDS can only be run individually")
def test_systemd_install_continue_prompt_feed(self):
os.environ[
"PROMPT_FEEDS"
] = "test-prompts/individual-prompts/systemd_install_continue.yml"
os.environ["PROMPT_FEEDS"] = (
"test-prompts/individual-prompts/systemd_install_continue.yml"
)
PromptFeeder.instance().load_prompt_feeds()
SystemDSetup.confirm_config("dummy1", "dummy2", "dummy3", "dummy4")

Expand Down
6 changes: 3 additions & 3 deletions node-runner-cli/tests/unit/test_validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ def test_validator_address_included_in_dict_from_object(self):

@mock.patch("sys.stdout", new_callable=StringIO)
def test_validator_promptfeed(self, mock_out):
os.environ[
"PROMPT_FEEDS"
] = "test-prompts/individual-prompts/validator_address.yml"
os.environ["PROMPT_FEEDS"] = (
"test-prompts/individual-prompts/validator_address.yml"
)
PromptFeeder.prompts_feed = PromptFeeder.instance().load_prompt_feeds()
address = Prompts.ask_validator_address()
self.assertEqual("validator_mock", address)
Expand Down

0 comments on commit 24ecdd5

Please sign in to comment.