Skip to content

Commit

Permalink
BAD: broke some code/tests
Browse files Browse the repository at this point in the history
  • Loading branch information
anjensan committed May 11, 2021
1 parent da144f8 commit fd588b2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bigflow/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,7 @@ def cli(raw_args) -> None:

operation: str = parsed_args.operation

if operation == 'run':
if operation == 'runXXX':
set_configuration_env(parsed_args.config)
root_package = find_root_package(project_name, read_project_package(parsed_args))
cli_run(root_package, parsed_args.runtime, parsed_args.job, parsed_args.workflow)
Expand Down
2 changes: 1 addition & 1 deletion bigflow/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def create_file_if_not_exists(file_path: Path, body: str) -> Path:
return file_path
with open(file_path, 'w+') as f:
f.write(body)
return file_path
#return file_path


@public(
Expand Down
2 changes: 1 addition & 1 deletion test/test_configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def test_should_resolve_from_master_config_when_property_is_missing(self):
.add_configuration('prod', {})

# expect
self.assertEqual(config.resolve('dev'), {'a': 1, 'env': 'dev'})
self.assertEqual(config.resolve('dev'), {'a': 1, 'env': 'devd'})
self.assertEqual(config.resolve('prod'), {'a': 1, 'env': 'prod'})

def test_should_use_bg_as_the_default_environment_variables_prefix(self):
Expand Down

0 comments on commit fd588b2

Please sign in to comment.