﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	launchpad_bug
1153	need tests for create-{client, node} with default nodedir	davidsarah	davidsarah	"We shouldn't create a node at the actual default basedir (which might already exist), which is why there are no existing tests for this.

However, we could:
 * check that the result of [source:src/allmydata/scripts/common.py@4615#L10 get_default_nodedir] is sensible;
 * mock {{{get_default_nodedir}}} to return a default nodedir under the {{{_trial_temp}}} directory.

To test the logic for getting the default nodedir from the registry entry on Windows, we can mock {{{sys.platform}}} and {{{allmydata.windows.registry.get_registry_value}}}."	defect	assigned	normal	soon	code-nodeadmin	1.7.1		test-needed unfinished-business config	zancas	
