Skip to content

Commit

Permalink
Add sql file to main branch to test git execute command in PR 1494 (#…
Browse files Browse the repository at this point in the history
…1496)

Add file to test in following pr
  • Loading branch information
sfc-gh-jvasquezrojas authored Aug 30, 2024
1 parent b1c6a00 commit b45c614
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Select 'script in pascal case';
17 changes: 17 additions & 0 deletions tests_integration/test_git.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,23 @@ def test_copy_error(runner, sf_git_repository):
)


@pytest.mark.skip(reason="This will be enabled in following PR")
@pytest.mark.integration
def test_execute_with_name_in_pascal_case(
runner, test_database, sf_git_repository, snapshot
):
result = runner.invoke_with_connection_json(
[
"git",
"execute",
f"@{sf_git_repository}/branches/main/tests_integration/test_data/projects/stage_execute/ScriptInPascalCase.sql",
]
)

assert result.exit_code == 0
assert result.json == snapshot


@pytest.mark.integration
def test_execute(runner, test_database, sf_git_repository, snapshot):
result = runner.invoke_with_connection_json(
Expand Down

0 comments on commit b45c614

Please sign in to comment.