Skip to content

Commit

Permalink
format w black
Browse files Browse the repository at this point in the history
  • Loading branch information
jacalata committed Jun 7, 2024
1 parent 9e53694 commit 10b6ef2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ def run_command(args):
logger.error(exc.__str__())
Errors.exit_with_error(logger, _("publish.errors.server_resource_not_found"), exc)


publish_mode = PublishCommand.get_publish_mode(args, logger)

if args.db_username:
Expand Down
2 changes: 1 addition & 1 deletion tabcmd/execution/global_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ def set_publish_args(parser):
parser.add_argument(
"--skip-connection-check",
action="store_true",
help="Skip connection check: do not validate the workbook/datasource connection during publishing"
help="Skip connection check: do not validate the workbook/datasource connection during publishing",
)

# These two only apply for a workbook, not a datasource
Expand Down
6 changes: 3 additions & 3 deletions tests/e2e/online_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def _list(self, item_type: str):
# fill in
TDS_FILE_LIVE_NAME = "SampleDS"
TDS_FILE_LIVE = "SampleDS.tds"

TWB_WITH_EMBEDDED_CONNECTION = "EmbeddedCredentials.twb"
EMBEDDED_TWB_NAME = "EmbeddedCredentials"

Expand Down Expand Up @@ -334,8 +334,8 @@ def test_wb_publish(self):
file = os.path.join("tests", "assets", OnlineCommandTest.TWBX_FILE_WITH_EXTRACT)
arguments = self._publish_args(file, OnlineCommandTest.TWBX_WITH_EXTRACT_NAME)
val = _test_command(arguments)
if (val != 0):
print('publishing failed: cancel test run')
if val != 0:
print("publishing failed: cancel test run")
exit(val)

@pytest.mark.order(11)
Expand Down

0 comments on commit 10b6ef2

Please sign in to comment.