Ubuntu Pastebin

Paste from smoser at Fri, 23 Dec 2016 15:27:04 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
diff --git a/doc/rtd/topics/tests.rst b/doc/rtd/topics/tests.rst
index 56126ae..00c63c6 100644
--- a/doc/rtd/topics/tests.rst
+++ b/doc/rtd/topics/tests.rst
@@ -1,13 +1,10 @@
-.. contents:: Table of Contents
-   :depth: 2
-
-============================
+****************
 Test Development
-============================
+****************
 
 
 Overview
---------
+========
 
 The purpose of this page is to describe how to write integration tests for
 cloud-init. As a test writer you need to develop a test configuration and
@@ -24,7 +21,7 @@ The names must match, however the extensions will of course be different,
 yaml vs py.
 
 Configuration
--------------
+=============
 
 The test configuration is a YAML file such as *ntp_server.yaml* below:
 
@@ -65,7 +62,7 @@ There are two keys, 1 required and 1 optional, in the YAML file:
    the verification script to recall the output of the commands ran.
 
 Default Collect Scripts
-~~~~~~~~~~~~~~~~~~~~~~~
+-----------------------
 
 By default the following files will be collected for every test. There is
 no need to specify these items:
@@ -78,7 +75,7 @@ no need to specify these items:
 * ```dpkg-query -W -f='${Version}' cloud-init```
 
 Verification
-------------
+============
 
 The verification script is a Python file with unit tests like the one,
 `ntp_server.py`, below:
@@ -122,7 +119,7 @@ Here is a breakdown of the unit test file:
   ``collect_scripts`` above.
 
 Layout
-------
+======
 
 Integration tests are located under the `tests/cloud_tests` directory.
 Test configurations are placed under `configs` and the test verification
@@ -148,7 +145,6 @@ tests. View the README.md in each to understand in more detail each
 directory.
 
 
-=====================
 Development Checklist
 =====================
 
@@ -172,7 +168,6 @@ Development Checklist
            -t tests/cloud_tests/configs/<dir>/your_test_here.yaml
 
 
-=========
 Execution
 =========
 
@@ -244,7 +239,6 @@ The above command will run the verify scripts on the data discovered in
 `/tmp/collection`.
 
 
-============
 Architecture
 ============
 
Download as text