On Thu, Oct 2, 2008 at 2:40 AM, vila <email address hidden> wrote:
> Ran into it again.
Well done for fixing it.
> -class TestScriptTask(TestCase):
> +class TestScriptTask(TestCaseInTempDir):
>
> def test_compile(self):
> task = userscript.ScriptTask()
>
>
> In fact, it wasn't lazy coding on your part, bzrlib.test.TestCase really set HOME as os.getcwd() but all our tests relies on TestCaseInTempDir to clean after themselves.
On Thu, Oct 2, 2008 at 2:40 AM, vila <email address hidden> wrote:
> Ran into it again.
Well done for fixing it.
> -class TestScriptTask( TestCase) : TestCaseInTempD ir): ScriptTask( ) test.TestCase really set HOME as os.getcwd() but all our tests relies on TestCaseInTempDir to clean after themselves.
> +class TestScriptTask(
>
> def test_compile(self):
> task = userscript.
>
>
> In fact, it wasn't lazy coding on your part, bzrlib.
I think this is kind of a bug in TestCase too...
> I can't push to lp:bzr-usertest though.
I've changed the trunk for that plugin to be owned by ~bzr of which
you are a member, so you should be able to do it now.
-- launchpad. net/~mbp/>
Martin <http://