Add simple smoke test

Related: bz#1950291
This commit is contained in:
Lukas Zachar 2021-07-16 12:30:11 +02:00 committed by TOrsava
parent a66f9cf8d7
commit 2b4517848c
4 changed files with 16 additions and 0 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

4
plans.fmf Normal file
View File

@ -0,0 +1,4 @@
discover:
how: fmf
execute:
how: tmt

7
tests/smoke.fmf Normal file
View File

@ -0,0 +1,7 @@
description: |
Runs very simple babel example which should always work
test: python3 smoke.py
framework: shell
require:
- python3
- python3-babel

4
tests/smoke.py Normal file
View File

@ -0,0 +1,4 @@
from datetime import date
from babel.dates import format_date
assert format_date(date(2021,3,1), locale='en') == 'Mar 1, 2021'