Build documentation

This commit is contained in:
Julien Duponchelle committed 2015-06-10 14:35:53 +02:00
1 parent b0fb2fcc6d
commit fb79543342
91 files changed
+515 -204

No files matched your search

+1 -1
View File
@@ -233,7 +233,7 @@ def test_get_file(server, tmpdir):
with open(os.path.join(project.path, "hello"), "w+") as f:
f.write("world")
response = server.get("/projects/{project_id}/files/hello".format(project_id=project.id), raw=True, example=True)
response = server.get("/projects/{project_id}/files/hello".format(project_id=project.id), raw=True)
assert response.status == 200
assert response.body == b"world"
+1 -1
View File
@@ -202,7 +202,7 @@ def test_update_startup_script_h(vm):
def test_get_startup_script(vm):
content = "echo GNS3 VPCS\nip 192.168.1.2"
vm.startup_script = content
assert vm.startup_script == os.linesep.join(["echo GNS3 VPCS","ip 192.168.1.2"])
assert vm.startup_script == os.linesep.join(["echo GNS3 VPCS", "ip 192.168.1.2"])
def test_get_startup_script_using_default_script(vm):