Skip to content

Commit b29012f

Browse files
chg ! by default command 'upgrade' do not run sync with HOPE
1 parent 5beee0f commit b29012f

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

src/country_workspace/management/commands/upgrade.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,11 @@ def add_arguments(self, parser: "ArgumentParser") -> None:
6262
)
6363

6464
parser.add_argument(
65-
"--no-sync",
66-
action="store_false",
65+
"--sync",
66+
action="store_true",
6767
dest="sync_with_hope",
68-
default=True,
69-
help="Do not run HOPE synchronisation",
68+
default=False,
69+
help="Run HOPE synchronisation",
7070
)
7171

7272
parser.add_argument(

tests/test_commands.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ def test_upgrade_init(
7575
stdout=out,
7676
checks=False,
7777
verbosity=verbosity,
78-
sync_with_hope=False,
7978
)
8079
assert "error" not in str(out.getvalue())
8180

0 commit comments

Comments
 (0)