You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@gump.apache.org by Scott Sanders <sc...@dotnot.org> on 2005/07/06 20:51:18 UTC

Re: svn commit: r209496 - in /gump/branches/Gump3/pygump/python/gump/test: testDynagumper.py testModel.py

Scott laughs to self as this is exactly where he led Justin in  
private email to get the test case working :)

Justin,  you can undo your change and just svn update the new code :)

Scott

On Jul 6, 2005, at 11:39 AM, leosimons@apache.org wrote:
>      def test_visit_module(self):
> -        #TODO
>          class m:
> -          def __init__(self, n, d, u):
> +          def __init__(self, n, d, u, r):
>              self.name = n
>              self.description = d
>              self.url = u
> +            self.repository = r
> +
> +        class r:
> +          def __init__(self, workspace, name):
> +            self.workspace       = workspace
> +            self.name            = name
>
> -        mi = m("blah", "blah blah", "http://example.com")
> +        class w:
> +          def __init__(self, name):
> +            self.name            = name
> +
> +        wi = w("blah")
> +        ri = r(wi, "blah")
> +        mi = m("blah", "blah blah", "http://example.com", ri)
>          dynagumper = Dynagumper(self.db,self.log)
>

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Re: svn commit: r209496 - in /gump/branches/Gump3/pygump/python/gump/test: testDynagumper.py testModel.py

Posted by Justin Merz <jr...@ucdavis.edu>.
Scott Sanders wrote:

> Scott laughs to self as this is exactly where he led Justin in private 
> email to get the test case working :)
>
> Justin, you can undo your change and just svn update the new code :)
>
> Scott
>
> On Jul 6, 2005, at 11:39 AM, leosimons@apache.org wrote:
>
>> def test_visit_module(self):
>> - #TODO
>> class m:
>> - def __init__(self, n, d, u):
>> + def __init__(self, n, d, u, r):
>> self.name = n
>> self.description = d
>> self.url = u
>> + self.repository = r
>> +
>> + class r:
>> + def __init__(self, workspace, name):
>> + self.workspace = workspace
>> + self.name = name
>>
>> - mi = m("blah", "blah blah", "http://example.com")
>> + class w:
>> + def __init__(self, name):
>> + self.name = name
>> +
>> + wi = w("blah")
>> + ri = r(wi, "blah")
>> + mi = m("blah", "blah blah", "http://example.com", ri)
>> dynagumper = Dynagumper(self.db,self.log)
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
> For additional commands, e-mail: general-help@gump.apache.org

I just got the lastest commit and test is running fine now. I am movin on

-Thanks
Justin

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org