Add a smoke test

This commit is contained in:
Jeremy Cline 2018-10-02 15:50:03 -04:00
commit 9d097738c6
No known key found for this signature in database
GPG key ID: 9223308FA9B246DB
2 changed files with 16 additions and 0 deletions

15
tests/test_imports.yml Normal file
View 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
View file

@ -0,0 +1 @@
- import_playbook: test_imports.yml