File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
tests/python/functional/hived Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 44from typing import TYPE_CHECKING
55
66import pytest
7- import test_tools as tt
87
8+ import test_tools as tt
99from hive_local_tools .functional .python .compare_snapshot import compare_snapshots_contents
1010
1111if TYPE_CHECKING :
@@ -72,6 +72,7 @@ def clear_state(node: tt.InitNode):
7272 node .wait_for_block_with_number (block_log_length + 7 )
7373 node .close ()
7474
75+
7576def test_snapshots_has_more_plugins (block_log : Path , block_log_length : int ) -> None :
7677 def clear_state (node : tt .InitNode ):
7778 from os .path import join as join_paths
@@ -101,6 +102,7 @@ def clear_state(node: tt.InitNode):
101102 warning_msg = "Snaphot has more plugins than current hived configuration"
102103 assert warning_msg in (node .directory / "stderr.txt" ).read_text ()
103104
105+
104106def test_snapshots_has_less_plugins (block_log : Path , block_log_length : int ) -> None :
105107 def clear_state (node : tt .InitNode ):
106108 from os .path import join as join_paths
You can’t perform that action at this time.
0 commit comments