Example #1
0
 def test_set_var_string(self):
     command.ConfigDAO.set_to('mail', 'sender-name', 'robot')
     self.mox.ReplayAll()
     command.set_var(['test', 'set', 'mail.sender-name', 'robot'])
Example #2
0
 def test_set_var_works(self):
     command.ConfigDAO.set_to('invitations', 'enabled', True)
     self.mox.ReplayAll()
     command.set_var(['test', 'set', 'invitations.enabled', 'true'])