change: trigger actions on push to main branch

This commit is contained in:
debugtalk
2022-03-28 21:43:41 +08:00
parent 8d627f7ba2
commit 8fb1f6e0c9
7 changed files with 15 additions and 9 deletions
+2 -2
View File
@@ -287,12 +287,12 @@ func TestRunCaseWithRefAPI(t *testing.T) {
func TestLoadTestCases(t *testing.T) {
// load test cases from folder path
tc := TestCasePath(templatesDir + "testcases")
tc := TestCasePath("../examples/demo-with-py-plugin/testcases/")
testCases, err := loadTestCases(&tc)
if !assert.Nil(t, err) {
t.Fail()
}
if !assert.GreaterOrEqual(t, len(testCases), 5) {
if !assert.Equal(t, len(testCases), 3) {
t.Fail()
}