Skip to content

Commit 150afae

Browse files
authored
Merge pull request #41 from fedora-modularity/devel
Merge request to master
2 parents e920e58 + 268138a commit 150afae

40 files changed

+1910
-1575
lines changed

.landscape.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Include warnings about missing documentation?
2+
doc-warnings: False
3+
4+
# Include warnings about tests?
5+
test-warnings: True
6+
7+
# tests stricktness
8+
strictness: medium
9+
10+
pylint:
11+
options:
12+
max-line-length: 120
13+
14+
# autodetect dependencies?
15+
autodetect: True
16+
17+
# paths to be ignored
18+
ignore-paths:
19+
- docs
20+
- setup.py
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.5.18-1 ./
1+
0.5.19-1 ./

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
[![Code Health](https://landscape.io/github/fedora-modularity/meta-test-family/master/landscape.svg?style=flat)](https://landscape.io/github/fedora-modularity/meta-test-family/master)
2+
13
Meta test family (MTF) is a tool to test components of [a modular Fedora](https://docs.pagure.org/modularity/).
24

35
For more information, check out the documentation page:

docs/api/exceptions_debug.rst renamed to docs/api/common.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Exceptions and Debug
2-
====================
1+
Common
2+
=======
33

44
.. automodule:: moduleframework.common
55
:members:

docs/api/exceptions.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Exceptions
2+
===========
3+
4+
.. automodule:: moduleframework.exceptions
5+
:members:
6+
:undoc-members:
7+

docs/api/index.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ This section contains the MTF API, auto generated from `the source code`_.
88
.. toctree::
99

1010
module_framework
11-
exceptions_debug
11+
common
12+
exceptions
1213
mtf_generator
1314
compose_info
1415
pdc_data

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@
254254
# (source start file, target name, title, author,
255255
# dir menu entry, description, category)
256256
texinfo_documents = [
257-
(master_doc, 'MetaTestfamily', u'Meta Test family Documentation',
257+
(master_doc, 'MetaTestFamily', u'MetaTestFamily Documentation',
258258
u'Petr Hracek@*Jan Scotka', 'MetaTestFamily', 'One line description of project.',
259259
'Miscellaneous'),
260260
]

docs/example-config-minimal.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
document: modularity-testing
22
version: 1
33
name: bash
4-
modulemd-url: https://src.fedoraproject.org/cgit/modules/memcached.git/plain/memcached.yaml
4+
modulemd-url: https://src.fedoraproject.org/modules/memcached/raw/master/f/memcached.yaml
55
packages:
66
rpms:
77
- bash

docs/example-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ name: memcached
1212
# link to default moduleMD file (usefull for local testing wihtout any repo)
1313
# env var: MODULEMDURL
1414
# MANDATORY (or compose-url)
15-
modulemd-url: https://src.fedoraproject.org/cgit/modules/memcached.git/plain/memcached.yaml
15+
modulemd-url: https://src.fedoraproject.org/modules/memcached/raw/master/f/memcached.yaml
1616
# final compose done by pungi (contain also modulemd files for modules) can suppy also previous part
1717
# env var: COMPOSEURL
1818
compose-url: url_to_compose_in done in fedora

docs/user_guide/index.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,20 @@ User Guide
33

44
1. In a module's root directory create a directory ``tests`` and place there a module configuration file ``config.yaml`` described in detail in section `Configuration file`_.
55

6-
.. _Configuration file: how_to_write_conf_file
6+
.. _Configuration file: how_to_write_conf_file.html
77

88
2. Optionally write multiline Bash snippet tests directly in the ``tests/config.yaml`` file as described in section `Multiline Bash snippet tests`_.
99

10-
.. _Multiline Bash snippet tests: how_to_write_conf_file#multiline-bash-snippet-tests
10+
.. _Multiline Bash snippet tests: how_to_write_conf_file.html#multiline-bash-snippet-tests
1111

1212
3. Check the list of `Environment variables`_.
1313

14-
.. _Environment variables: environment_variables
14+
.. _Environment variables: environment_variables.html
1515

1616
4. Write your tests, for example see `sanity tests`_ and various tests examples in ``/usr/share/moduleframework/examples/testing-module/``. All tests methods are listed in section `API Index`_ and alphabetically in :ref:`genindex` section.
1717

1818
.. _sanity tests: https://github.com/fedora-modularity/meta-test-family/blob/master/examples/template/sanity_template.py
19-
.. _API Index: ../api/index
19+
.. _API Index: ../api/index.html
2020

2121
5. In the directory ``tests`` create a ``Makefile`` as below.
2222

0 commit comments

Comments
 (0)