Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zmraul committed Jul 26, 2023
1 parent f3b5b18 commit e391eb7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/integration/test_sysctl.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

from charms.operator_libs_linux.v0 import sysctl

EXPECTED_MERGED_RESULT = """# This config file was produced by sysctl lib v0.2
EXPECTED_MERGED_RESULT = """# This config file was produced by sysctl lib v0.3
#
# This file represents the output of the sysctl lib, which can combine multiple
# configurations into a single file like.
Expand Down
6 changes: 3 additions & 3 deletions tests/unit/test_sysctl.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,23 @@
vm.swappiness=60
net.ipv4.tcp_max_syn_backlog=4096
"""
TEST_OTHER_CHARM_MERGED = """# This config file was produced by sysctl lib v0.2
TEST_OTHER_CHARM_MERGED = """# This config file was produced by sysctl lib v0.3
#
# This file represents the output of the sysctl lib, which can combine multiple
# configurations into a single file like.
# othercharm
vm.swappiness=60
net.ipv4.tcp_max_syn_backlog=4096
"""
TEST_MERGED_FILE = """# This config file was produced by sysctl lib v0.2
TEST_MERGED_FILE = """# This config file was produced by sysctl lib v0.3
#
# This file represents the output of the sysctl lib, which can combine multiple
# configurations into a single file like.
vm.max_map_count = 262144
vm.swappiness=0
"""
TEST_UPDATE_MERGED_FILE = """# This config file was produced by sysctl lib v0.2
TEST_UPDATE_MERGED_FILE = """# This config file was produced by sysctl lib v0.3
#
# This file represents the output of the sysctl lib, which can combine multiple
# configurations into a single file like.
Expand Down

0 comments on commit e391eb7

Please sign in to comment.