Thread: SF.net SVN: fclient: [272] trunk/sandbox/fcp2/test_fcp/test_config.py
Status: Pre-Alpha
Brought to you by:
jurner
From: <ju...@us...> - 2008-02-26 15:18:16
|
Revision: 272 http://fclient.svn.sourceforge.net/fclient/?rev=272&view=rev Author: jurner Date: 2008-02-26 07:18:18 -0800 (Tue, 26 Feb 2008) Log Message: ----------- adapt Modified Paths: -------------- trunk/sandbox/fcp2/test_fcp/test_config.py Modified: trunk/sandbox/fcp2/test_fcp/test_config.py =================================================================== --- trunk/sandbox/fcp2/test_fcp/test_config.py 2008-02-26 14:48:13 UTC (rev 271) +++ trunk/sandbox/fcp2/test_fcp/test_config.py 2008-02-26 15:18:18 UTC (rev 272) @@ -14,9 +14,12 @@ hack = _RelImportHack(3) from fcp2.client import Client +from fcp2 import consts Message = Client.Message from fcp2 import types + + del hack #<-- rel import hack @@ -44,14 +47,14 @@ enabled = consoleItem.children.get('enabled', None) self.failIf(enabled is None) - current = enabled.values.get(cfg.ValueClassCurrent, None) + current = enabled.values.get(consts.ConfigValueClass.Current, None) self.failIf(current is None) value, valueType = current self.assertEqual(value, 'true') self.assertEqual(valueType, types.FcpTypeBool) - default = enabled.values.get(cfg.ValueClassDefault, None) + default = enabled.values.get(consts.ConfigValueClass.Default, None) self.failIf(default is None) value, valueType = default self.assertEqual(value, 'false') This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ju...@us...> - 2008-02-26 16:21:01
|
Revision: 276 http://fclient.svn.sourceforge.net/fclient/?rev=276&view=rev Author: jurner Date: 2008-02-26 08:21:02 -0800 (Tue, 26 Feb 2008) Log Message: ----------- fixed reference Modified Paths: -------------- trunk/sandbox/fcp2/test_fcp/test_config.py Modified: trunk/sandbox/fcp2/test_fcp/test_config.py =================================================================== --- trunk/sandbox/fcp2/test_fcp/test_config.py 2008-02-26 16:03:02 UTC (rev 275) +++ trunk/sandbox/fcp2/test_fcp/test_config.py 2008-02-26 16:21:02 UTC (rev 276) @@ -15,7 +15,7 @@ from fcp2.client import Client from fcp2 import consts -Message = Client.Message +Message = Client.message.Message from fcp2 import types This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ju...@us...> - 2008-02-27 13:51:53
|
Revision: 292 http://fclient.svn.sourceforge.net/fclient/?rev=292&view=rev Author: jurner Date: 2008-02-27 05:51:52 -0800 (Wed, 27 Feb 2008) Log Message: ----------- fix: Client.Config is now Client.config.Config Modified Paths: -------------- trunk/sandbox/fcp2/test_fcp/test_config.py Modified: trunk/sandbox/fcp2/test_fcp/test_config.py =================================================================== --- trunk/sandbox/fcp2/test_fcp/test_config.py 2008-02-27 12:07:31 UTC (rev 291) +++ trunk/sandbox/fcp2/test_fcp/test_config.py 2008-02-27 13:51:52 UTC (rev 292) @@ -38,7 +38,7 @@ 'default.console.enabled': 'false', } - cfg = Client.Config(Msg) + cfg = Client.config.Config(Msg) # check if all items and values have been set as expected consoleItem = cfg.children.get('console', None) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ju...@us...> - 2008-03-06 17:45:11
|
Revision: 324 http://fclient.svn.sourceforge.net/fclient/?rev=324&view=rev Author: jurner Date: 2008-03-06 09:45:18 -0800 (Thu, 06 Mar 2008) Log Message: ----------- fixed import Modified Paths: -------------- trunk/sandbox/fcp2/test_fcp/test_config.py Modified: trunk/sandbox/fcp2/test_fcp/test_config.py =================================================================== --- trunk/sandbox/fcp2/test_fcp/test_config.py 2008-03-06 17:44:51 UTC (rev 323) +++ trunk/sandbox/fcp2/test_fcp/test_config.py 2008-03-06 17:45:18 UTC (rev 324) @@ -22,8 +22,6 @@ del hack #<-- rel import hack - -from dummy_socket import DummySocket #**************************************************************************************** # #**************************************************************************************** This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jU...@us...> - 2008-03-08 11:13:09
|
Revision: 341 http://fclient.svn.sourceforge.net/fclient/?rev=341&view=rev Author: jUrner Date: 2008-03-08 03:13:11 -0800 (Sat, 08 Mar 2008) Log Message: ----------- minor changes Modified Paths: -------------- trunk/sandbox/fcp2/test_fcp/test_config.py Modified: trunk/sandbox/fcp2/test_fcp/test_config.py =================================================================== --- trunk/sandbox/fcp2/test_fcp/test_config.py 2008-03-08 11:12:52 UTC (rev 340) +++ trunk/sandbox/fcp2/test_fcp/test_config.py 2008-03-08 11:13:11 UTC (rev 341) @@ -1,4 +1,4 @@ -"""Unittests for fcp2_0_config""" +"""Unittests for fcp2.config.py""" import os, sys import socket @@ -15,7 +15,6 @@ from fcp2.client import Client from fcp2 import consts -Message = Client.message.Message from fcp2 import types This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |