Diff between a9da35aeb5345f741d76a34c0f480d85cd215bab and f0b3a334af0d692fb05eab7a514fee2cbfb36786

Changed Files

File Additions Deletions Status
test/test-profile +4 -5 modified

Full Patch

diff --git a/test/test-profile b/test/test-profile
index 169196a..1818358 100755
--- a/test/test-profile
+++ b/test/test-profile
@@ -53,7 +53,7 @@ if __name__ == '__main__':
 					default="/foo/bar/profile"),
 			make_option("-n", "--name", action="store",
 					type="string", dest="name",
-					default="Test Profile"),
+					default=None),
 			make_option("-s", "--server",
 					action="store_const",
 					const="server", dest="role"),
@@ -80,14 +80,13 @@ if __name__ == '__main__':
 
 	mainloop = GObject.MainLoop()
 
-	if options.uuid == "hfp":
-		options.name = "HFP HandsFree"
-
 	opts = {
-			"Name" :	options.name,
 			"AutoConnect" :	options.auto_connect,
 		}
 
+	if (options.name):
+		opts["Name"] = options.name
+
 	if (options.role):
 		opts["Role"] = options.role