Skip to content

Commit d85a59f

Browse files
authored
Merge pull request #637 from splunk/dev/CB/DVPL-12497-reorganize-tests
DVPL-12497: Divide tests into folders
2 parents 1c25e27 + 3cd7cd3 commit d85a59f

File tree

96 files changed

+93
-82
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+93
-82
lines changed

.gitignore

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,14 @@ __stdout__
1111
docs/_build
1212
build/
1313
proxypid
14-
proxy.log
1514
MANIFEST
1615
coverage_report
17-
test.log
18-
tests/searchcommands_data/log/
19-
tests/searchcommands_data/output/
2016
Test Results*.html
21-
tests/searchcommands/data/app/app.log
17+
*.log
2218
splunk_sdk.egg-info/
2319
dist/
24-
tests/searchcommands/apps/app_with_logging_configuration/*.log
2520
*.observed
2621
venv/
22+
.venv/
2723
.tox
2824
test-reports/

docker-compose.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ services:
2020
timeout: 5s
2121
retries: 20
2222
volumes:
23-
- "./tests/searchcommands/test_apps/eventing_app:/opt/splunk/etc/apps/eventing_app"
24-
- "./tests/searchcommands/test_apps/generating_app:/opt/splunk/etc/apps/generating_app"
25-
- "./tests/searchcommands/test_apps/reporting_app:/opt/splunk/etc/apps/reporting_app"
26-
- "./tests/searchcommands/test_apps/streaming_app:/opt/splunk/etc/apps/streaming_app"
23+
- "./tests/system/test_apps/eventing_app:/opt/splunk/etc/apps/eventing_app"
24+
- "./tests/system/test_apps/generating_app:/opt/splunk/etc/apps/generating_app"
25+
- "./tests/system/test_apps/reporting_app:/opt/splunk/etc/apps/reporting_app"
26+
- "./tests/system/test_apps/streaming_app:/opt/splunk/etc/apps/streaming_app"
2727
- "./splunklib:/opt/splunk/etc/apps/eventing_app/lib/splunklib"
2828
- "./splunklib:/opt/splunk/etc/apps/generating_app/lib/splunklib"
2929
- "./splunklib:/opt/splunk/etc/apps/reporting_app/lib/splunklib"
File renamed without changes.

tests/test_app.py renamed to tests/integration/test_app.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
# License for the specific language governing permissions and limitations
1515
# under the License.
1616

17+
1718
import logging
1819
from tests import testlib
1920
from splunklib import client
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)