Add a smoke test
This commit is contained in:
parent
33bb8ea0e5
commit
9d097738c6
2 changed files with 16 additions and 0 deletions
15
tests/test_imports.yml
Normal file
15
tests/test_imports.yml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
---
|
||||
- hosts: localhost
|
||||
roles:
|
||||
- role: standard-test-basic
|
||||
tags:
|
||||
- classic
|
||||
- atomic
|
||||
- container
|
||||
tasks:
|
||||
- name: Test block
|
||||
block:
|
||||
- name: Assert all top-level sub-modules can be imported in Python 3
|
||||
shell: python3 -c "from requests import *"
|
||||
- name: Assert all top-level sub-modules can be imported in Python 2
|
||||
shell: python2 -c "from requests import *"
|
||||
1
tests/tests.yml
Normal file
1
tests/tests.yml
Normal file
|
|
@ -0,0 +1 @@
|
|||
- import_playbook: test_imports.yml
|
||||
Loading…
Add table
Add a link
Reference in a new issue