mirror of
https://github.com/netinvent/npbackup.git
synced 2024-09-20 06:46:13 +08:00
Fix typo
This commit is contained in:
parent
caf34a5d4a
commit
5781599dde
|
@ -5,7 +5,7 @@
|
|||
__intname__ = "restic_metrics"
|
||||
__author__ = "Orsiris de Jong"
|
||||
__copyright__ = "Copyright (C) 2022-2024 NetInvent"
|
||||
__licence__ = "BSD-3-Clause"
|
||||
__license__ = "BSD-3-Clause"
|
||||
__version__ = "2.0.0"
|
||||
__build__ = "2024010101"
|
||||
__description__ = (
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
__intname__ = "npbackup_cli_tests"
|
||||
__author__ = "Orsiris de Jong"
|
||||
__copyright__ = "Copyright (C) 2022-2024 NetInvent"
|
||||
__licence__ = "BSD-3-Clause"
|
||||
__license__ = "BSD-3-Clause"
|
||||
__build__ = "2024011501"
|
||||
__compat__ = "python3.6+"
|
||||
|
||||
|
@ -66,6 +66,16 @@ def test_npbackup_cli_snapshots():
|
|||
print(logs)
|
||||
|
||||
|
||||
def test_npbackup_cli_create_backup():
|
||||
sys.argv = ['', '-c' 'npbackup-cli-test.conf', '-b']
|
||||
try:
|
||||
with RedirectedStdout() as logs:
|
||||
e = __main__.main()
|
||||
print(e)
|
||||
except SystemExit:
|
||||
print(logs)
|
||||
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
test_npbackup_cli_no_config()
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
__intname__ = "restic_metrics_tests"
|
||||
__author__ = "Orsiris de Jong"
|
||||
__copyright__ = "Copyright (C) 2022-2024 NetInvent"
|
||||
__licence__ = "BSD-3-Clause"
|
||||
__license__ = "BSD-3-Clause"
|
||||
__build__ = "2024010101"
|
||||
__description__ = "Converts restic command line output to a text file node_exporter can scrape"
|
||||
__compat__ = "python3.6+"
|
||||
|
|
Loading…
Reference in a new issue