Skip to content

Commit c88ed68

Browse files
authored
Merge pull request #17151 from github/criemen/pytest-ruby
Ruby: Port integration tests to pytest.
2 parents 32b3924 + def662d commit c88ed68

File tree

5 files changed

+5
-20
lines changed

5 files changed

+5
-20
lines changed
Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,2 @@
1-
import os
2-
from create_database_utils import *
3-
from diagnostics_test_utils import *
4-
5-
run_codeql_database_create([], lang="ruby", runFunction = runSuccessfully, db = None)
6-
7-
check_diagnostics()
1+
def test(codeql, ruby):
2+
codeql.database.create()

ruby/ql/integration-tests/all-platforms/diagnostics/unknown-encoding/diagnostics.expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@
1616
"visibility": {
1717
"statusPage": true
1818
}
19-
}
19+
}
Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,2 @@
1-
import os
2-
from create_database_utils import *
3-
from diagnostics_test_utils import *
4-
5-
run_codeql_database_create([], lang="ruby", runFunction = runSuccessfully, db = None)
6-
7-
check_diagnostics()
1+
def test(codeql, ruby):
2+
codeql.database.create()

ruby/ql/integration-tests/all-platforms/qlpack.yml

Lines changed: 0 additions & 4 deletions
This file was deleted.

ruby/ql/integration-tests/legacy

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)