added the test module

This commit is contained in:
Maximilien Rigaut 2017-05-03 02:36:06 +02:00
parent 214c10d1cf
commit 631e6db59c
3 changed files with 6 additions and 1 deletions

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "minitest"]
path = minitest
url = git@github.com:Malphaet/minitest.git

View File

@ -1,5 +1,6 @@
# Copyleft (c) 2016 Cocobug All Rights Reserved.
import os,sys,file_parser
from model import dual
class WebTree(object):
"The tree of all website evolves during runtime as the files are requested"
@ -202,4 +203,4 @@ if __name__ == '__main__':
# Do all the nominal tests
s=makeWebsite("sites/example_website")
s.print_webtree(" > ")
container(pagetitle="#_pagetitle_#",websitename="#_websitename_#",menu="##MENU##",page="##PAGE##")
dual.container(pagetitle="#_pagetitle_#",websitename="#_websitename_#",menu="##MENU##",page="##PAGE##")

1
minitest Submodule

@ -0,0 +1 @@
Subproject commit 074a36df5f4542849666dcea036081bea68accfc