Skip to content

Commit

Permalink
add missing integration tests, fix st2-pack-test
Browse files Browse the repository at this point in the history
  • Loading branch information
guzzijones committed Sep 11, 2024
1 parent d6b337c commit 02e2a60
Show file tree
Hide file tree
Showing 8 changed files with 144 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright 2024 The StackStorm Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

import pytest


@pytest.mark.skip(reason="TEST TO BE IMPLEMENTED.")
def test_todo():
pass
20 changes: 20 additions & 0 deletions contrib/runners/http_runner/tests/integration/test_http_runner.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright 2024 The StackStorm Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

import pytest


@pytest.mark.skip(reason="TEST TO BE IMPLEMENTED.")
def test_todo():
pass
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright 2024 The StackStorm Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

import pytest


@pytest.mark.skip(reason="TEST TO BE IMPLEMENTED.")
def test_todo():
pass
20 changes: 20 additions & 0 deletions contrib/runners/noop_runner/tests/integration/test_noop_runner.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright 2024 The StackStorm Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

import pytest


@pytest.mark.skip(reason="TEST TO BE IMPLEMENTED.")
def test_todo():
pass
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright 2024 The StackStorm Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

import pytest


@pytest.mark.skip(reason="TEST TO BE IMPLEMENTED.")
def test_todo():
pass
20 changes: 20 additions & 0 deletions contrib/runners/test_action_runner.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright 2024 The StackStorm Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

import pytest


@pytest.mark.skip(reason="TEST TO BE IMPLEMENTED.")
def test_todo():
pass
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright 2024 The StackStorm Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

import pytest


@pytest.mark.skip(reason="TEST TO BE IMPLEMENTED.")
def test_todo():
pass
8 changes: 4 additions & 4 deletions st2common/bin/st2-run-pack-tests
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ function join { local IFS="$1"; shift; echo "$*"; }
# package installation. When using StackStorm package installation, those dependencies are already
# available (they are installed by st2tests package).
PACK_TEST_PYTHON_DEPENDENCIES_NAMES=(
'pytest',
'mock',
'pytest'
'mock'
'coverage'
)
PACK_TEST_PYTHON_DEPENDENCIES_VERSIONS=(
'>6',
'>=4.0.3',
'>6'
'>=4.0.3'
'>=4.4.1'
)

Expand Down

0 comments on commit 02e2a60

Please sign in to comment.