Add build script for Linux.
[matthijs/upstream/mobilegtd.git] / tests / specs / ui_spec.py
1 from pyspec import *
2
3 class VerifyUserSpecification( object ):
4         @context
5         def setUp( self ):
6                 self.user = User( "Mark Dancer" )
7         @spec
8         def verifyInitialUserNameIsNameInConstructor( self ):
9                 self.shouldBeEqual( self.user.name, "Mark Dancer" )
10
11         def verifyInitialUserHasNoLanguages( self ):
12                 self.shouldBeEmpty( self.user.languages )
13                 
14 if __name__ == "__main__":
15         run_test()