Skip to content

Commit ebd7f2d

Browse files
committed
fix: backup/restore project archive short option
1 parent cbeb41d commit ebd7f2d

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

obiba_opal/commands.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ def backup_project_command(
194194
archive: str | None = typer.Option(
195195
None,
196196
"--archive",
197-
"-a",
197+
"-ar",
198198
help="Archive file path in Opal file system. Default is <project>.zip in the project folder.",
199199
),
200200
force: bool = typer.Option(False, "--force", "-f", help="Skip confirmation"),
@@ -250,7 +250,7 @@ def restore_project_command(
250250
archive: str | None = typer.Option(
251251
None,
252252
"--archive",
253-
"-a",
253+
"-ar",
254254
help="Archive file path in Opal file system. Default is <project>.zip in the project folder.",
255255
),
256256
force: bool = typer.Option(False, "--force", "-f", help="Skip confirmation"),

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "obiba-opal"
3-
version = "6.0.1"
3+
version = "6.0.2"
44
description = "OBiBa/Opal python client."
55
authors = [
66
{name = "Yannick Marcon", email = "yannick.marcon@obiba.org"}

tests/test_core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def setup_class(cls):
1515
# Make sure to place your own certificate files
1616
cls.SSL_CERTIFICATE = "./resources/certificates/publickey.pem"
1717
cls.SSL_KEY = "./resources/certificates/privatekey.pem"
18-
18+
1919
def test_sendRestBadServer(self):
2020
# FIXME for some reason, the cookie_file is not removed (despite the os.remove()
2121
# is called and os.path.exists() says it was removed)

tests/test_file.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def test_2_fileDownload(self):
6060
) from None
6161
except Exception as e:
6262
raise AssertionError("Failed to download file, check if the file exists and if the name is correct.") from e
63-
63+
6464
@pytest.mark.integration
6565
def test_3_fileDownloadWithPassword(self):
6666
try:

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)