Compare commits
No commits in common. "c9-beta" and "c9s" have entirely different histories.
4
.gitignore
vendored
4
.gitignore
vendored
@ -1 +1,3 @@
|
|||||||
SOURCES/ruamel-yaml-clib-code-fdd42e838e4d5199b0277fc21a920a744cdd5c9d.zip
|
/ruamel.yaml.clib-0.1.2.tar.gz
|
||||||
|
/ruamel-yaml-clib-code-955989c1f022b95ca1f92bf0abd761ef8aa0b940.zip
|
||||||
|
/ruamel-yaml-clib-code-fdd42e838e4d5199b0277fc21a920a744cdd5c9d.zip
|
||||||
|
@ -1 +0,0 @@
|
|||||||
ff23dd8a8266f256987fc42e1d7e88260409efc6 SOURCES/ruamel-yaml-clib-code-fdd42e838e4d5199b0277fc21a920a744cdd5c9d.zip
|
|
3
README.md
Normal file
3
README.md
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# python-ruamel-yaml-clib
|
||||||
|
|
||||||
|
The python-ruamel-yaml-clib package
|
7
gating.yaml
Normal file
7
gating.yaml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
--- !Policy
|
||||||
|
product_versions:
|
||||||
|
- rhel-9
|
||||||
|
decision_context: osci_compose_gate
|
||||||
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
||||||
|
|
1
sources
Normal file
1
sources
Normal file
@ -0,0 +1 @@
|
|||||||
|
SHA512 (ruamel-yaml-clib-code-fdd42e838e4d5199b0277fc21a920a744cdd5c9d.zip) = 7040eacf8028e0a8ffb189f32f6f1e591223c46f5bcc16638d336ef9bd51c4a06e4e7aac63499fcccf35f63b211323ce279a21d6188ca9307e137786b34b7d66
|
14
tests/basic/test.py
Normal file
14
tests/basic/test.py
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
#! /usr/bin/python3
|
||||||
|
|
||||||
|
import sys
|
||||||
|
import os
|
||||||
|
from ruamel.yaml import YAML
|
||||||
|
|
||||||
|
f = open(os.path.abspath(os.path.join(os.path.dirname(__file__),'..', 'tests.yml')), 'r')
|
||||||
|
s = f.read()
|
||||||
|
f.close()
|
||||||
|
|
||||||
|
yaml = YAML()
|
||||||
|
data = yaml.load(s)
|
||||||
|
if data[0]['hosts'] != 'localhost':
|
||||||
|
exit(1)
|
12
tests/tests.yml
Normal file
12
tests/tests.yml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
- hosts: localhost
|
||||||
|
become: yes
|
||||||
|
tags:
|
||||||
|
- classic
|
||||||
|
roles:
|
||||||
|
- role: standard-test-basic
|
||||||
|
required_packages:
|
||||||
|
- python3-ruamel-yaml-clib
|
||||||
|
- python3
|
||||||
|
tests:
|
||||||
|
- basic:
|
||||||
|
run: python3 ./test.py
|
Loading…
Reference in New Issue
Block a user