Project

General

Profile

Revision 20367931

ID20367931826425cf944d798b717c132dfae9ab42
Parent ed374445
Child 089dfbc2

Added by Thomas ANDREJAK almost 15 years ago

Réorganisation du code (controllers, etc)
Mise en place d'un système de plugin pour ajouter des colonnes à la volée
Internationalisation complète
Création de quelques tests

git-svn-id: https://vigilo-dev.si.c-s.fr/svn@274 b22e2e97-25c9-44ff-b637-2e5ceca36478

View differences:

vigiboard/tests/models/__init__.py
23 23
    klass = None
24 24
    attrs = {}
25 25

  
26
    def wri(self,str):
27
	    f=open("/home/tandreja/moimoi","a")
28
	    f.write("%s %s\n" % (str,self.__class__))
29
	    f.close()
30

  
26 31
    def setup(self):
27 32
        try:
28 33
            new_attrs = {}
......
34 39
            return self.obj
35 40
        except:
36 41
            DBSession.rollback()
37
            raise
42
            raise 
38 43

  
39 44
    def tearDown(self):
40 45
        DBSession.rollback()
41

  
46
    
42 47
    def do_get_dependencies(self):
43 48
        """Use this method to pull in other objects that need to be created for this object to be build properly"""
44 49
        return {}

Also available in: Unified diff