launchpad-reviewers team mailing list archive
-
launchpad-reviewers team
-
Mailing list archive
-
Message #06100
[Merge] lp:~wgrant/launchpad/test-password-everywhere into lp:launchpad
William Grant has proposed merging lp:~wgrant/launchpad/test-password-everywhere into lp:launchpad.
Requested reviews:
Launchpad code reviewers (launchpad-reviewers)
For more details, see:
https://code.launchpad.net/~wgrant/launchpad/test-password-everywhere/+merge/88691
Most sampledata users have a password of 'test', but there are a few special ones. This branch sets them all to 'test', alters tests to cope, and adjusts other tests to create people with 'test' instead of other passwords.
This paves the way to removing AccountPassword.
--
https://code.launchpad.net/~wgrant/launchpad/test-password-everywhere/+merge/88691
Your team Launchpad code reviewers is requested to review the proposed merge of lp:~wgrant/launchpad/test-password-everywhere into lp:launchpad.
=== modified file 'database/sampledata/current-dev.sql'
--- database/sampledata/current-dev.sql 2011-12-19 16:20:05 +0000
+++ database/sampledata/current-dev.sql 2012-01-16 13:41:41 +0000
@@ -759,6 +759,9 @@
+
+
+
SET SESSION AUTHORIZATION DEFAULT;
ALTER TABLE account DISABLE TRIGGER ALL;
@@ -2043,56 +2046,56 @@
ALTER TABLE accountpassword DISABLE TRIGGER ALL;
INSERT INTO accountpassword (id, account, password) VALUES (1, 11, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
-INSERT INTO accountpassword (id, account, password) VALUES (2, 21, 'ID1adsprLaTBox18F6dpSdtSdqCiOdpgUXBo4oG17qhg73jSDTVe3g==');
+INSERT INTO accountpassword (id, account, password) VALUES (2, 21, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
INSERT INTO accountpassword (id, account, password) VALUES (4, 41, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
-INSERT INTO accountpassword (id, account, password) VALUES (6, 61, 'egSV4F7r1WCy/hf5jWu7AlOfsdt6E5/eGUDj2esLlEPV8VfJSdIJSQ==');
-INSERT INTO accountpassword (id, account, password) VALUES (8, 81, 'AqRrSgxlaD/jsmKcwKM6WRV6RjgdyuND0kHVDSFG+F1FGUCoCXncuQ==');
+INSERT INTO accountpassword (id, account, password) VALUES (6, 61, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (8, 81, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
INSERT INTO accountpassword (id, account, password) VALUES (11, 111, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
INSERT INTO accountpassword (id, account, password) VALUES (12, 121, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
-INSERT INTO accountpassword (id, account, password) VALUES (13, 131, 'MdB+BoAdbza3BA6mIkMm6bFo1kv9hR2PKZ3U');
-INSERT INTO accountpassword (id, account, password) VALUES (14, 141, 'pGQrbOLX8qWHLVFxd/VPhZlqhPDXj/3/8p8CeEUYIFfYziLKdTbJNQ==');
+INSERT INTO accountpassword (id, account, password) VALUES (13, 131, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (14, 141, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
INSERT INTO accountpassword (id, account, password) VALUES (16, 161, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
-INSERT INTO accountpassword (id, account, password) VALUES (22, 221, 'I+lQozEFEr+uBuxQZuKGpL4jkiy6lE1dQsZx');
+INSERT INTO accountpassword (id, account, password) VALUES (22, 221, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
INSERT INTO accountpassword (id, account, password) VALUES (23, 231, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
-INSERT INTO accountpassword (id, account, password) VALUES (27, 271, 'DAJs/l1RrrYFPPd2mBY4b/aFjnTfodXOyg+L+U6uPxUy8rCp/IFC/w==');
-INSERT INTO accountpassword (id, account, password) VALUES (28, 281, 'OkikNBxGC7hgRBJ109OZru86vpzhHw+cO+zW/0SlTN2phfv7lSwSHg==');
-INSERT INTO accountpassword (id, account, password) VALUES (29, 291, 'DAJs/l1RrrYFPPd2mBY4b/aFjnTfodXOyg+L+U6uPxUy8rCp/IFC/w==');
-INSERT INTO accountpassword (id, account, password) VALUES (33, 331, 'test');
-INSERT INTO accountpassword (id, account, password) VALUES (34, 341, 'gsTz0TyTUL7xrkoAH4Yz2WE6/w6WoYG5LjaO8p/xA1FDdSM6qkWiYA==');
-INSERT INTO accountpassword (id, account, password) VALUES (35, 351, 'FvPq9d4L5onnmcRA9wCzQ5lnPPYIzvW5rJA7GGnnsJuQqz8M8naZkQ==');
-INSERT INTO accountpassword (id, account, password) VALUES (36, 361, 'lyA9CgUH9lHmTiaiWGP2vzkmytufiHBAnc9c8WCX1g5pYyBd6QgL3A==');
-INSERT INTO accountpassword (id, account, password) VALUES (37, 371, 'bpLapC1tQHUedQBP447krtcmaRPd3hrncPusTlNUKXh5ymfO5yVhhQ==');
-INSERT INTO accountpassword (id, account, password) VALUES (38, 381, 'DAJs/l1RrrYFPPd2mBY4b/aFjnTfodXOyg+L+U6uPxUy8rCp/IFC/w==');
-INSERT INTO accountpassword (id, account, password) VALUES (39, 391, 'U2QzusrIFlQZKb3hWzcLpfhFcB3WZ0fa0E+OwcV8q/WOtsQCjarzzA==');
-INSERT INTO accountpassword (id, account, password) VALUES (40, 401, 'mSKDc1EKoi8a5L0zd+oueU33nuSEuFWy+JHIHxOukBVJt9LPW47RVg==');
-INSERT INTO accountpassword (id, account, password) VALUES (41, 411, '94y1dy33Evut2/bLsGG8Pzguyuip9wHeRtFWp0cSItzHdD1tK3gmcQ==');
-INSERT INTO accountpassword (id, account, password) VALUES (42, 421, 'vI/vIVB2qsx1NvuaMy+q4l8rWUNMFINWzCSLOK1D5qi97/VmXvIrEw==');
-INSERT INTO accountpassword (id, account, password) VALUES (43, 431, 'HG6qWB8PwzfIr3z+Tu+m3lQv7r1dsaWY6rxCxRuNypGomTPTzBh9iA==');
-INSERT INTO accountpassword (id, account, password) VALUES (44, 441, 'xrXafuC+VBaIz3m2+0UMjxms+2KhGhj6qnQdoo2V/f4iNFHJgSDzzw==');
-INSERT INTO accountpassword (id, account, password) VALUES (45, 451, 'w+f2krWWyQIIm76PIUEIsMCNQLhWLjObLcDONJNjjXcRaiKzKXeMAw==');
-INSERT INTO accountpassword (id, account, password) VALUES (46, 461, '1u05okOZJIa069F8COZ2vmxRq11c+4rolNUVRp539TI5ihnHwk9+Sw==');
-INSERT INTO accountpassword (id, account, password) VALUES (47, 471, 'n+KIa3PoihBN8ljj9Hjg9H3Im2LWnrn2yprgY4u/MnxOQx3dOh3bDw==');
-INSERT INTO accountpassword (id, account, password) VALUES (48, 481, 'U4KMnp73AYdriB7QH2NpEYhlH+fBWJKziDPcDAt25OxItZMYh0QV4Q==');
-INSERT INTO accountpassword (id, account, password) VALUES (49, 491, 'YbUJ4nzlxjYtaLLFMqUFL3LplUpS3FxcYwiCAS0WaAcnXS8Sst9BgA==');
-INSERT INTO accountpassword (id, account, password) VALUES (50, 501, 'MdB+BoAdbza3BA6mIkMm6bFo1kv9hR2PKZ3U');
-INSERT INTO accountpassword (id, account, password) VALUES (51, 511, 'sYVFKi2dWAfkFkWekcW296s2dZ0ihYcxAXtwumI1FQJes4PWD8xvqQ==');
+INSERT INTO accountpassword (id, account, password) VALUES (27, 271, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (28, 281, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (29, 291, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (33, 331, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (34, 341, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (35, 351, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (36, 361, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (37, 371, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (38, 381, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (39, 391, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (40, 401, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (41, 411, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (42, 421, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (43, 431, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (44, 441, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (45, 451, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (46, 461, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (47, 471, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (48, 481, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (49, 491, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (50, 501, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (51, 511, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
INSERT INTO accountpassword (id, account, password) VALUES (52, 521, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
INSERT INTO accountpassword (id, account, password) VALUES (55, 551, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
INSERT INTO accountpassword (id, account, password) VALUES (56, 561, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
INSERT INTO accountpassword (id, account, password) VALUES (58, 581, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
-INSERT INTO accountpassword (id, account, password) VALUES (63, 631, 'UnjDN34pTZ0xE3vbCNZDedIVpLPrA9nty9S/mOzbeefQXAEN6CMNUQ==');
-INSERT INTO accountpassword (id, account, password) VALUES (68, 681, 'q/esKTLj2ba0Bzu2Xdi1JA4zgC683EE3I1Vjm+hp4mY+xgikQ7YD1g==');
-INSERT INTO accountpassword (id, account, password) VALUES (243602, 2436021, 'PlPmrpS1styVUEK/lGn72zqxYYeZcLqKD3b5oD4/C6AyntMMFvSacw==');
-INSERT INTO accountpassword (id, account, password) VALUES (243603, 2436031, '52kdKnxgzc0LWK2ltsED9SeqQcjZgDAj+wWlaRotx3BvsXJCH0AUdQ==');
-INSERT INTO accountpassword (id, account, password) VALUES (243610, 2436101, '9I7bMpJUcBH+edfXjswjdo7nC6iuoTU6YAqolznT59Q1h9v+z9pdVQ==');
-INSERT INTO accountpassword (id, account, password) VALUES (243611, 2436111, 'zpAkRDpNGKvwvoPeBHuuwK4RFNCrwUnEMglcuWfzV1FCZ0M9nskK8w==');
-INSERT INTO accountpassword (id, account, password) VALUES (243617, 2436171, '8Z3kccpOP4HerugZDi/VS5VePtVDHk48XE11Mx0DmpnqiPsDLczI3g==');
-INSERT INTO accountpassword (id, account, password) VALUES (243622, 2436221, 'x3AXXkF9hiPAvbgZSrM/6wczynYy0x+o7SNoT+Gy2Z1GZCMcDNb08A==');
-INSERT INTO accountpassword (id, account, password) VALUES (243623, 2436231, '0HM7dR9mHB8uh4Pi88me/V7VrPBbsZZCIVWtkjyHV9WtA0QMcaVM5w==');
-INSERT INTO accountpassword (id, account, password) VALUES (243624, 261, 'test');
-INSERT INTO accountpassword (id, account, password) VALUES (243625, 71, 'test');
-INSERT INTO accountpassword (id, account, password) VALUES (243626, 31, 'test');
-INSERT INTO accountpassword (id, account, password) VALUES (243629, 2436242, 'AmIxkZe2yl53W8ai9xg8ok+JtsX1CTpR6Ma9bT5LJyMMz1HXnvfPoA==');
+INSERT INTO accountpassword (id, account, password) VALUES (63, 631, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (68, 681, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (243602, 2436021, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (243603, 2436031, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (243610, 2436101, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (243611, 2436111, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (243617, 2436171, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (243622, 2436221, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (243623, 2436231, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (243624, 261, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (243625, 71, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (243626, 31, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (243629, 2436242, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
ALTER TABLE accountpassword ENABLE TRIGGER ALL;
=== modified file 'database/sampledata/current.sql'
--- database/sampledata/current.sql 2011-12-19 16:20:05 +0000
+++ database/sampledata/current.sql 2012-01-16 13:41:41 +0000
@@ -759,6 +759,9 @@
+
+
+
SET SESSION AUTHORIZATION DEFAULT;
ALTER TABLE account DISABLE TRIGGER ALL;
@@ -2041,56 +2044,56 @@
ALTER TABLE accountpassword DISABLE TRIGGER ALL;
INSERT INTO accountpassword (id, account, password) VALUES (1, 11, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
-INSERT INTO accountpassword (id, account, password) VALUES (2, 21, 'ID1adsprLaTBox18F6dpSdtSdqCiOdpgUXBo4oG17qhg73jSDTVe3g==');
+INSERT INTO accountpassword (id, account, password) VALUES (2, 21, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
INSERT INTO accountpassword (id, account, password) VALUES (4, 41, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
-INSERT INTO accountpassword (id, account, password) VALUES (6, 61, 'egSV4F7r1WCy/hf5jWu7AlOfsdt6E5/eGUDj2esLlEPV8VfJSdIJSQ==');
-INSERT INTO accountpassword (id, account, password) VALUES (8, 81, 'AqRrSgxlaD/jsmKcwKM6WRV6RjgdyuND0kHVDSFG+F1FGUCoCXncuQ==');
+INSERT INTO accountpassword (id, account, password) VALUES (6, 61, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (8, 81, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
INSERT INTO accountpassword (id, account, password) VALUES (11, 111, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
INSERT INTO accountpassword (id, account, password) VALUES (12, 121, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
-INSERT INTO accountpassword (id, account, password) VALUES (13, 131, 'MdB+BoAdbza3BA6mIkMm6bFo1kv9hR2PKZ3U');
-INSERT INTO accountpassword (id, account, password) VALUES (14, 141, 'pGQrbOLX8qWHLVFxd/VPhZlqhPDXj/3/8p8CeEUYIFfYziLKdTbJNQ==');
+INSERT INTO accountpassword (id, account, password) VALUES (13, 131, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (14, 141, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
INSERT INTO accountpassword (id, account, password) VALUES (16, 161, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
-INSERT INTO accountpassword (id, account, password) VALUES (22, 221, 'I+lQozEFEr+uBuxQZuKGpL4jkiy6lE1dQsZx');
+INSERT INTO accountpassword (id, account, password) VALUES (22, 221, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
INSERT INTO accountpassword (id, account, password) VALUES (23, 231, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
-INSERT INTO accountpassword (id, account, password) VALUES (27, 271, 'DAJs/l1RrrYFPPd2mBY4b/aFjnTfodXOyg+L+U6uPxUy8rCp/IFC/w==');
-INSERT INTO accountpassword (id, account, password) VALUES (28, 281, 'OkikNBxGC7hgRBJ109OZru86vpzhHw+cO+zW/0SlTN2phfv7lSwSHg==');
-INSERT INTO accountpassword (id, account, password) VALUES (29, 291, 'DAJs/l1RrrYFPPd2mBY4b/aFjnTfodXOyg+L+U6uPxUy8rCp/IFC/w==');
-INSERT INTO accountpassword (id, account, password) VALUES (33, 331, 'test');
-INSERT INTO accountpassword (id, account, password) VALUES (34, 341, 'gsTz0TyTUL7xrkoAH4Yz2WE6/w6WoYG5LjaO8p/xA1FDdSM6qkWiYA==');
-INSERT INTO accountpassword (id, account, password) VALUES (35, 351, 'FvPq9d4L5onnmcRA9wCzQ5lnPPYIzvW5rJA7GGnnsJuQqz8M8naZkQ==');
-INSERT INTO accountpassword (id, account, password) VALUES (36, 361, 'lyA9CgUH9lHmTiaiWGP2vzkmytufiHBAnc9c8WCX1g5pYyBd6QgL3A==');
-INSERT INTO accountpassword (id, account, password) VALUES (37, 371, 'bpLapC1tQHUedQBP447krtcmaRPd3hrncPusTlNUKXh5ymfO5yVhhQ==');
-INSERT INTO accountpassword (id, account, password) VALUES (38, 381, 'DAJs/l1RrrYFPPd2mBY4b/aFjnTfodXOyg+L+U6uPxUy8rCp/IFC/w==');
-INSERT INTO accountpassword (id, account, password) VALUES (39, 391, 'U2QzusrIFlQZKb3hWzcLpfhFcB3WZ0fa0E+OwcV8q/WOtsQCjarzzA==');
-INSERT INTO accountpassword (id, account, password) VALUES (40, 401, 'mSKDc1EKoi8a5L0zd+oueU33nuSEuFWy+JHIHxOukBVJt9LPW47RVg==');
-INSERT INTO accountpassword (id, account, password) VALUES (41, 411, '94y1dy33Evut2/bLsGG8Pzguyuip9wHeRtFWp0cSItzHdD1tK3gmcQ==');
-INSERT INTO accountpassword (id, account, password) VALUES (42, 421, 'vI/vIVB2qsx1NvuaMy+q4l8rWUNMFINWzCSLOK1D5qi97/VmXvIrEw==');
-INSERT INTO accountpassword (id, account, password) VALUES (43, 431, 'HG6qWB8PwzfIr3z+Tu+m3lQv7r1dsaWY6rxCxRuNypGomTPTzBh9iA==');
-INSERT INTO accountpassword (id, account, password) VALUES (44, 441, 'xrXafuC+VBaIz3m2+0UMjxms+2KhGhj6qnQdoo2V/f4iNFHJgSDzzw==');
-INSERT INTO accountpassword (id, account, password) VALUES (45, 451, 'w+f2krWWyQIIm76PIUEIsMCNQLhWLjObLcDONJNjjXcRaiKzKXeMAw==');
-INSERT INTO accountpassword (id, account, password) VALUES (46, 461, '1u05okOZJIa069F8COZ2vmxRq11c+4rolNUVRp539TI5ihnHwk9+Sw==');
-INSERT INTO accountpassword (id, account, password) VALUES (47, 471, 'n+KIa3PoihBN8ljj9Hjg9H3Im2LWnrn2yprgY4u/MnxOQx3dOh3bDw==');
-INSERT INTO accountpassword (id, account, password) VALUES (48, 481, 'U4KMnp73AYdriB7QH2NpEYhlH+fBWJKziDPcDAt25OxItZMYh0QV4Q==');
-INSERT INTO accountpassword (id, account, password) VALUES (49, 491, 'YbUJ4nzlxjYtaLLFMqUFL3LplUpS3FxcYwiCAS0WaAcnXS8Sst9BgA==');
-INSERT INTO accountpassword (id, account, password) VALUES (50, 501, 'MdB+BoAdbza3BA6mIkMm6bFo1kv9hR2PKZ3U');
-INSERT INTO accountpassword (id, account, password) VALUES (51, 511, 'sYVFKi2dWAfkFkWekcW296s2dZ0ihYcxAXtwumI1FQJes4PWD8xvqQ==');
+INSERT INTO accountpassword (id, account, password) VALUES (27, 271, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (28, 281, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (29, 291, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (33, 331, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (34, 341, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (35, 351, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (36, 361, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (37, 371, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (38, 381, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (39, 391, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (40, 401, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (41, 411, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (42, 421, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (43, 431, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (44, 441, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (45, 451, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (46, 461, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (47, 471, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (48, 481, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (49, 491, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (50, 501, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (51, 511, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
INSERT INTO accountpassword (id, account, password) VALUES (52, 521, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
INSERT INTO accountpassword (id, account, password) VALUES (55, 551, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
INSERT INTO accountpassword (id, account, password) VALUES (56, 561, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
INSERT INTO accountpassword (id, account, password) VALUES (58, 581, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
-INSERT INTO accountpassword (id, account, password) VALUES (63, 631, 'UnjDN34pTZ0xE3vbCNZDedIVpLPrA9nty9S/mOzbeefQXAEN6CMNUQ==');
-INSERT INTO accountpassword (id, account, password) VALUES (68, 681, 'q/esKTLj2ba0Bzu2Xdi1JA4zgC683EE3I1Vjm+hp4mY+xgikQ7YD1g==');
-INSERT INTO accountpassword (id, account, password) VALUES (243602, 2436021, 'PlPmrpS1styVUEK/lGn72zqxYYeZcLqKD3b5oD4/C6AyntMMFvSacw==');
-INSERT INTO accountpassword (id, account, password) VALUES (243603, 2436031, '52kdKnxgzc0LWK2ltsED9SeqQcjZgDAj+wWlaRotx3BvsXJCH0AUdQ==');
-INSERT INTO accountpassword (id, account, password) VALUES (243610, 2436101, '9I7bMpJUcBH+edfXjswjdo7nC6iuoTU6YAqolznT59Q1h9v+z9pdVQ==');
-INSERT INTO accountpassword (id, account, password) VALUES (243611, 2436111, 'zpAkRDpNGKvwvoPeBHuuwK4RFNCrwUnEMglcuWfzV1FCZ0M9nskK8w==');
-INSERT INTO accountpassword (id, account, password) VALUES (243617, 2436171, '8Z3kccpOP4HerugZDi/VS5VePtVDHk48XE11Mx0DmpnqiPsDLczI3g==');
-INSERT INTO accountpassword (id, account, password) VALUES (243622, 2436221, 'x3AXXkF9hiPAvbgZSrM/6wczynYy0x+o7SNoT+Gy2Z1GZCMcDNb08A==');
-INSERT INTO accountpassword (id, account, password) VALUES (243623, 2436231, '0HM7dR9mHB8uh4Pi88me/V7VrPBbsZZCIVWtkjyHV9WtA0QMcaVM5w==');
-INSERT INTO accountpassword (id, account, password) VALUES (243624, 261, 'test');
-INSERT INTO accountpassword (id, account, password) VALUES (243625, 71, 'test');
-INSERT INTO accountpassword (id, account, password) VALUES (243626, 31, 'test');
-INSERT INTO accountpassword (id, account, password) VALUES (243629, 2436242, 'AmIxkZe2yl53W8ai9xg8ok+JtsX1CTpR6Ma9bT5LJyMMz1HXnvfPoA==');
+INSERT INTO accountpassword (id, account, password) VALUES (63, 631, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (68, 681, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (243602, 2436021, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (243603, 2436031, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (243610, 2436101, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (243611, 2436111, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (243617, 2436171, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (243622, 2436221, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (243623, 2436231, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (243624, 261, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (243625, 71, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (243626, 31, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
+INSERT INTO accountpassword (id, account, password) VALUES (243629, 2436242, 'K7Qmeansl6RbuPfulfcmyDQOzp70OxVh5Fcf');
ALTER TABLE accountpassword ENABLE TRIGGER ALL;
=== modified file 'lib/lp/answers/stories/project-add-question.txt'
--- lib/lp/answers/stories/project-add-question.txt 2011-04-23 03:47:33 +0000
+++ lib/lp/answers/stories/project-add-question.txt 2012-01-16 13:41:41 +0000
@@ -154,7 +154,7 @@
test the supported languages behaviour for non-English languages. Dafydd
speaks Japanese, so we will use him.
- >>> daf_browser = setupBrowser(auth='Basic daf@xxxxxxxxxxxxx:daf')
+ >>> daf_browser = setupBrowser(auth='Basic daf@xxxxxxxxxxxxx:test')
>>> daf_browser.open('http://launchpad.dev/~daf/+editlanguages')
>>> print daf_browser.title
Language preferences...
=== modified file 'lib/lp/answers/stories/question-add-in-other-languages.txt'
--- lib/lp/answers/stories/question-add-in-other-languages.txt 2011-10-04 05:48:21 +0000
+++ lib/lp/answers/stories/question-add-in-other-languages.txt 2012-01-16 13:41:41 +0000
@@ -20,7 +20,7 @@
The languages that are supported are displayed with an asterisk.
- >>> browser.addHeader('Authorization', 'Basic salgado@xxxxxxxxxx:zeca')
+ >>> browser.addHeader('Authorization', 'Basic salgado@xxxxxxxxxx:test')
>>> browser.open('http://launchpad.dev/ubuntu/+addquestion')
>>> browser.getControl('Language').displayOptions
@@ -103,7 +103,7 @@
It's also possible that the user chose English in the first page but
then changed his mind on the second page.
- >>> browser = setupBrowser(auth='Basic daf@xxxxxxxxxxxxx:daf')
+ >>> browser = setupBrowser(auth='Basic daf@xxxxxxxxxxxxx:test')
>>> browser.open('http://launchpad.dev/ubuntu/+addquestion')
>>> browser.getControl('Language').value = ['en']
=== modified file 'lib/lp/answers/stories/question-edit.txt'
--- lib/lp/answers/stories/question-edit.txt 2011-08-02 02:51:59 +0000
+++ lib/lp/answers/stories/question-edit.txt 2012-01-16 13:41:41 +0000
@@ -84,7 +84,7 @@
edit the Status Whiteboard using the 'Edit Question' page.
>>> browser.addHeader(
- ... 'Authorization', 'Basic jeff.waugh@xxxxxxxxxxxxxxx:jdub')
+ ... 'Authorization', 'Basic jeff.waugh@xxxxxxxxxxxxxxx:test')
>>> browser.open('http://localhost/ubuntu/+question/5')
>>> browser.getLink('Edit question').click()
=== modified file 'lib/lp/answers/stories/question-search-multiple-languages.txt'
--- lib/lp/answers/stories/question-search-multiple-languages.txt 2011-12-22 05:09:10 +0000
+++ lib/lp/answers/stories/question-search-multiple-languages.txt 2012-01-16 13:41:41 +0000
@@ -219,7 +219,7 @@
will not be any controls present for those two languages when
searching Ubuntu.
- >>> daf_browser = setupBrowser(auth='Basic daf@xxxxxxxxxxxxx:daf')
+ >>> daf_browser = setupBrowser(auth='Basic daf@xxxxxxxxxxxxx:test')
>>> daf_browser.open('http://launchpad.dev/~daf/+editlanguages')
>>> daf_browser.getControl('English (United Kingdom)').selected
True
=== modified file 'lib/lp/app/stories/form/xx-form-layout.txt'
--- lib/lp/app/stories/form/xx-form-layout.txt 2011-05-12 18:25:06 +0000
+++ lib/lp/app/stories/form/xx-form-layout.txt 2012-01-16 13:41:41 +0000
@@ -131,7 +131,7 @@
Or for another example.
>>> cprov_browser = setupBrowser(
- ... auth='Basic celso.providelo@xxxxxxxxxxxxx:cprov')
+ ... auth='Basic celso.providelo@xxxxxxxxxxxxx:test')
>>> cprov_browser.open(
... 'http://launchpad.dev/~cprov/+archive/ppa/+edit/++form++')
>>> print cprov_browser.contents
=== modified file 'lib/lp/app/stories/launchpad-root/site-search.txt'
--- lib/lp/app/stories/launchpad-root/site-search.txt 2011-11-24 23:22:16 +0000
+++ lib/lp/app/stories/launchpad-root/site-search.txt 2012-01-16 13:41:41 +0000
@@ -342,7 +342,7 @@
... displayname="Private Benjamin",
... visibility=PersonVisibility.PRIVATE)
>>> logout()
- >>> browser = setupBrowser(auth='Basic salgado@xxxxxxxxxx:zeca')
+ >>> browser = setupBrowser(auth='Basic salgado@xxxxxxxxxx:test')
>>> browser.open('http://launchpad.dev/+search')
>>> search_for('Private Benjamin', browser=browser)
>>> print_search_results(browser.contents)
=== modified file 'lib/lp/blueprints/stories/blueprints/xx-productseries.txt'
--- lib/lp/blueprints/stories/blueprints/xx-productseries.txt 2010-09-16 21:43:17 +0000
+++ lib/lp/blueprints/stories/blueprints/xx-productseries.txt 2012-01-16 13:41:41 +0000
@@ -21,7 +21,7 @@
First we load the page to target to the series.
>>> browser.addHeader(
- ... 'Authorization', 'Basic celso.providelo@xxxxxxxxxxxxx:cprov')
+ ... 'Authorization', 'Basic celso.providelo@xxxxxxxxxxxxx:test')
>>> browser.open(
... 'http://blueprints.launchpad.dev/firefox/+spec/svg-support')
>>> browser.getLink('Propose as goal').click()
=== modified file 'lib/lp/blueprints/stories/sprints/sprint-settopics.txt'
--- lib/lp/blueprints/stories/sprints/sprint-settopics.txt 2009-09-22 15:02:41 +0000
+++ lib/lp/blueprints/stories/sprints/sprint-settopics.txt 2012-01-16 13:41:41 +0000
@@ -61,7 +61,7 @@
Any member of the Ubuntu-Team can now approve and/or decline items to the UDS
Guacamole agenda.
- >>> cprov_browser = setupBrowser(auth='Basic celso.providelo@xxxxxxxxxxxxx:cprov')
+ >>> cprov_browser = setupBrowser(auth='Basic celso.providelo@xxxxxxxxxxxxx:test')
>>> cprov_browser.open('http://launchpad.dev/sprints/uds-guacamole')
>>> cprov_browser.getLink('Blueprints').click()
>>> cprov_browser.url
=== modified file 'lib/lp/bugs/stories/bug-release-management/xx-bug-release-management.txt'
--- lib/lp/bugs/stories/bug-release-management/xx-bug-release-management.txt 2011-12-22 09:05:46 +0000
+++ lib/lp/bugs/stories/bug-release-management/xx-bug-release-management.txt 2012-01-16 13:41:41 +0000
@@ -85,8 +85,7 @@
A bug can be nominated for a distribution release.
>>> login('foo.bar@xxxxxxxxxxxxx')
- >>> nominater = factory.makePerson(name='denominater',
- ... password='g00dpassword')
+ >>> nominater = factory.makePerson(name='denominater', password='test')
>>> poseidon = factory.makeDistribution(name='poseidon',
... bug_supervisor=nominater)
>>> dsp = factory.makeDistributionSourcePackage(distribution=poseidon)
@@ -100,8 +99,7 @@
... distroseries=series, sourcepackagename=dsp.sourcepackagename)
>>> bug_task = factory.makeBugTask(target=dsp)
>>> nominater_browser = setupBrowser(
- ... auth='Basic %s:g00dpassword' %
- ... nominater.preferredemail.email)
+ ... auth='Basic %s:test' % nominater.preferredemail.email)
>>> logout()
>>> nominater_browser.open(
... "http://launchpad.dev/poseidon/+source/%s/+bug/%s/+nominate" %
@@ -114,8 +112,7 @@
>>> login('foo.bar@xxxxxxxxxxxxx')
>>> nominater_other_browser = setupBrowser(
- ... auth='Basic %s:g00dpassword' %
- ... nominater.preferredemail.email)
+ ... auth='Basic %s:test' % nominater.preferredemail.email)
>>> logout()
>>> nominater_other_browser.open(
... "http://launchpad.dev/poseidon/+source/%s/+bug/%s/+nominate" %
@@ -159,8 +156,7 @@
A bug can be nominated for a product series.
>>> login('foo.bar@xxxxxxxxxxxxx')
- >>> nominater = factory.makePerson(name='nominater',
- ... password='g00dpassword')
+ >>> nominater = factory.makePerson(name='nominater', password='test')
>>> widget = factory.makeProduct(name='widget',
... official_malone = True,
... bug_supervisor=nominater)
@@ -168,8 +164,7 @@
... name='beta')
>>> bug = factory.makeBug(product=widget)
>>> nominater_browser = setupBrowser(
- ... auth='Basic %s:g00dpassword' %
- ... nominater.preferredemail.email)
+ ... auth='Basic %s:test' % nominater.preferredemail.email)
>>> logout()
>>> nominater_browser.open(
... "http://launchpad.dev/widget/+bug/%s/+nominate" % bug.id)
@@ -181,8 +176,7 @@
>>> login('foo.bar@xxxxxxxxxxxxx')
>>> nominater_other_browser = setupBrowser(
- ... auth='Basic %s:g00dpassword' %
- ... nominater.preferredemail.email)
+ ... auth='Basic %s:test' % nominater.preferredemail.email)
>>> logout()
>>> nominater_other_browser.open(
... "http://launchpad.dev/widget/+bug/%s/+nominate" % bug.id)
=== modified file 'lib/lp/bugs/stories/bug-tags/xx-official-bug-tags.txt'
--- lib/lp/bugs/stories/bug-tags/xx-official-bug-tags.txt 2011-12-24 17:49:30 +0000
+++ lib/lp/bugs/stories/bug-tags/xx-official-bug-tags.txt 2012-01-16 13:41:41 +0000
@@ -1,4 +1,4 @@
-Official Bug Tags
+fficial Bug Tags
=================
Project admins can manage the official bug tags by following a link
@@ -58,13 +58,12 @@
>>> from lp.testing.sampledata import ADMIN_EMAIL
>>> from lp.testing import login, logout
>>> login(ADMIN_EMAIL)
- >>> supervisor = factory.makePerson(password='g00dpassword')
+ >>> supervisor = factory.makePerson(password='test')
>>> youbuntu = factory.makeProduct(name='youbuntu',
... bug_supervisor=supervisor,
... official_malone=True)
>>> bug_super_browser = setupBrowser(
- ... auth='Basic %s:g00dpassword' %
- ... supervisor.preferredemail.email)
+ ... auth='Basic %s:test' % supervisor.preferredemail.email)
>>> logout()
>>> bug_super_browser.open(
... 'http://bugs.launchpad.dev/youbuntu')
=== modified file 'lib/lp/bugs/stories/bugtracker/xx-reschedule-all-watches.txt'
--- lib/lp/bugs/stories/bugtracker/xx-reschedule-all-watches.txt 2011-12-24 17:49:30 +0000
+++ lib/lp/bugs/stories/bugtracker/xx-reschedule-all-watches.txt 2012-01-16 13:41:41 +0000
@@ -42,15 +42,14 @@
>>> login(ADMIN_EMAIL)
>>> admin_user = getUtility(IPersonSet).getByEmail(ADMIN_EMAIL)
- >>> new_lp_developer = factory.makePerson(password='newpassword')
+ >>> new_lp_developer = factory.makePerson(password='test')
>>> launchpad_developers = getUtility(
... ILaunchpadCelebrities).launchpad_developers
>>> dev_added = launchpad_developers.addMember(
... new_lp_developer, admin_user)
>>> lp_dev_browser = setupBrowser(
- ... auth='Basic %s:newpassword' %
- ... new_lp_developer.preferredemail.email)
+ ... auth='Basic %s:test' % new_lp_developer.preferredemail.email)
>>> logout()
>>> lp_dev_browser.open(bug_tracker_edit_url)
=== modified file 'lib/lp/bugs/stories/bugwatches/xx-edit-bugwatch.txt'
--- lib/lp/bugs/stories/bugwatches/xx-edit-bugwatch.txt 2011-12-24 15:18:32 +0000
+++ lib/lp/bugs/stories/bugwatches/xx-edit-bugwatch.txt 2012-01-16 13:41:41 +0000
@@ -292,15 +292,14 @@
>>> login(ADMIN_EMAIL)
>>> admin_user = getUtility(IPersonSet).getByEmail(ADMIN_EMAIL)
- >>> new_lp_developer = factory.makePerson(password='newpassword')
+ >>> new_lp_developer = factory.makePerson(password='test')
>>> launchpad_developers = getUtility(
... ILaunchpadCelebrities).launchpad_developers
>>> dev_added = launchpad_developers.addMember(
... new_lp_developer, admin_user)
>>> lp_dev_browser = setupBrowser(
- ... auth='Basic %s:newpassword' %
- ... new_lp_developer.preferredemail.email)
+ ... auth='Basic %s:test' % new_lp_developer.preferredemail.email)
>>> logout()
>>> lp_dev_browser.open(watch_url)
=== modified file 'lib/lp/code/doc/codereviewcomment.txt'
--- lib/lp/code/doc/codereviewcomment.txt 2011-12-24 17:49:30 +0000
+++ lib/lp/code/doc/codereviewcomment.txt 2012-01-16 13:41:41 +0000
@@ -22,8 +22,7 @@
>>> factory = LaunchpadObjectFactory()
>>> merge_proposal = factory.makeBranchMergeProposal()
>>> sender = factory.makePerson(
- ... email='sender@xxxxxxxxxxx', password='password',
- ... displayname='Sender Person')
+ ... email='sender@xxxxxxxxxxx', displayname='Sender Person')
>>> comment = merge_proposal.createComment(
... sender, 'Please merge', 'This patch is very nice.')
@@ -60,8 +59,8 @@
>>> from lp.code.enums import (
... BranchSubscriptionDiffSize, BranchSubscriptionNotificationLevel,
... CodeReviewNotificationLevel)
- >>> source_subscriber = factory.makePerson(email='subscriber@xxxxxxxxxxx',
- ... password='baz', displayname='Subscriber Person')
+ >>> source_subscriber = factory.makePerson(
+ ... email='subscriber@xxxxxxxxxxx', displayname='Subscriber Person')
>>> _unused = merge_proposal.source_branch.subscribe(source_subscriber,
... BranchSubscriptionNotificationLevel.NOEMAIL,
... BranchSubscriptionDiffSize.NODIFF,
=== modified file 'lib/lp/code/model/tests/test_codereviewcomment.py'
--- lib/lp/code/model/tests/test_codereviewcomment.py 2012-01-01 02:58:52 +0000
+++ lib/lp/code/model/tests/test_codereviewcomment.py 2012-01-16 13:41:41 +0000
@@ -29,8 +29,8 @@
target = self.factory.makeProductBranch(
product=source.product, title='target-branch')
self.bmp = source.addLandingTarget(source.owner, target)
- self.submitter = self.factory.makePerson(password='password')
- self.reviewer = self.factory.makePerson(password='password')
+ self.submitter = self.factory.makePerson()
+ self.reviewer = self.factory.makePerson()
self.bmp2 = self.factory.makeBranchMergeProposal()
def test_createRootComment(self):
=== modified file 'lib/lp/hardwaredb/stories/hwdb/xx-hwdb.txt'
--- lib/lp/hardwaredb/stories/hwdb/xx-hwdb.txt 2011-08-16 00:21:45 +0000
+++ lib/lp/hardwaredb/stories/hwdb/xx-hwdb.txt 2012-01-16 13:41:41 +0000
@@ -353,7 +353,7 @@
Hardware submissions for Ubuntu Team...
Ubuntu Team has posted no submissions.
- >>> browser = setupBrowser(auth='Basic celso.providelo@xxxxxxxxxxxxx:cprov')
+ >>> browser = setupBrowser(auth='Basic celso.providelo@xxxxxxxxxxxxx:test')
>>> browser.open('http://launchpad.dev/~ubuntu-team/+hwdb-submissions')
>>> [content_table] = find_tags_by_class(browser.contents, 'listing')
>>> print extract_text(content_table)
@@ -389,7 +389,7 @@
But they can with the right permissions.
- >>> browser = setupBrowser(auth='Basic celso.providelo@xxxxxxxxxxxxx:cprov')
+ >>> browser = setupBrowser(auth='Basic celso.providelo@xxxxxxxxxxxxx:test')
>>> browser.open(
... 'http://launchpad.dev/+hwdb/+submission/unique-id-3a/+text')
>>> print browser.contents
=== modified file 'lib/lp/registry/stories/distribution/xx-distribution-launchpad-usage.txt'
--- lib/lp/registry/stories/distribution/xx-distribution-launchpad-usage.txt 2011-10-10 12:07:40 +0000
+++ lib/lp/registry/stories/distribution/xx-distribution-launchpad-usage.txt 2012-01-16 13:41:41 +0000
@@ -24,7 +24,7 @@
The distribution's registrant can access the page and change the usage.
>>> registrant = setupBrowser(
- ... auth='Basic celso.providelo@xxxxxxxxxxxxx:cprov')
+ ... auth='Basic celso.providelo@xxxxxxxxxxxxx:test')
>>> registrant.open('http://launchpad.dev/ubuntu/+edit')
>>> print registrant.url
http://launchpad.dev/ubuntu/+edit
=== modified file 'lib/lp/registry/stories/distroseries/distroseries-admin.txt'
--- lib/lp/registry/stories/distroseries/distroseries-admin.txt 2010-08-16 19:28:37 +0000
+++ lib/lp/registry/stories/distroseries/distroseries-admin.txt 2012-01-16 13:41:41 +0000
@@ -50,11 +50,10 @@
Registry experts do not have access to the 'Change details' link.
>>> email = "expert@xxxxxxxxxxx"
- >>> password = "test"
- >>> registry= factory.makeRegistryExpert(email=email, password=password)
+ >>> registry= factory.makeRegistryExpert(email=email, password="test")
>>> logout()
>>> registry_browser = setupBrowser(
- ... auth='Basic %s:%s' % (email, password))
+ ... auth='Basic %s:test' % email)
>>> registry_browser.open('http://launchpad.dev/ubuntu/happy')
>>> registry_browser.getLink('Change details').click()
Traceback (most recent call last):
=== modified file 'lib/lp/registry/stories/gpg-coc/xx-gpg-coc.txt'
--- lib/lp/registry/stories/gpg-coc/xx-gpg-coc.txt 2011-12-22 05:09:10 +0000
+++ lib/lp/registry/stories/gpg-coc/xx-gpg-coc.txt 2012-01-16 13:41:41 +0000
@@ -651,7 +651,7 @@
... del browser.mech_browser.addheaders[pos]
... break
>>> browser.addHeader(
- ... 'Authorization', 'Basic guilherme.salgado@xxxxxxxxxxxxx:zeca')
+ ... 'Authorization', 'Basic guilherme.salgado@xxxxxxxxxxxxx:test')
Check if we can see the Code of conduct page
=== modified file 'lib/lp/registry/stories/mailinglists/lifecycle.txt'
--- lib/lp/registry/stories/mailinglists/lifecycle.txt 2011-12-23 23:44:59 +0000
+++ lib/lp/registry/stories/mailinglists/lifecycle.txt 2012-01-16 13:41:41 +0000
@@ -246,7 +246,7 @@
Members who are not owners can see the link.
>>> cprov_browser = setupBrowser(
- ... auth='Basic celso.providelo@xxxxxxxxxxxxx:cprov')
+ ... auth='Basic celso.providelo@xxxxxxxxxxxxx:test')
>>> cprov_browser.open('http://launchpad.dev/~bassists')
Traceback (most recent call last):
...
=== modified file 'lib/lp/registry/stories/mailinglists/subscriptions.txt'
--- lib/lp/registry/stories/mailinglists/subscriptions.txt 2011-12-29 05:29:36 +0000
+++ lib/lp/registry/stories/mailinglists/subscriptions.txt 2012-01-16 13:41:41 +0000
@@ -199,7 +199,7 @@
Now Jdub can apply for team membership and mailing list access.
- >>> browser = setupBrowser(auth='Basic jeff.waugh@xxxxxxxxxxxxxxx:jdub')
+ >>> browser = setupBrowser(auth='Basic jeff.waugh@xxxxxxxxxxxxxxx:test')
>>> browser.open('http://launchpad.dev/~rosetta-admins')
>>> browser.getLink('Join the team').click()
>>> browser.url
@@ -529,7 +529,7 @@
subscription settings will see the box checked by default.
>>> browser = setupBrowser(
- ... auth='Basic james.blackwell@xxxxxxxxxxxxxxx:jblack')
+ ... auth='Basic james.blackwell@xxxxxxxxxxxxxxx:test')
>>> browser.open('http://launchpad.dev/~jblack')
>>> browser.getLink(url="+editemails").click()
=== modified file 'lib/lp/registry/stories/person/xx-add-sshkey.txt'
--- lib/lp/registry/stories/person/xx-add-sshkey.txt 2009-10-23 14:53:01 +0000
+++ lib/lp/registry/stories/person/xx-add-sshkey.txt 2012-01-16 13:41:41 +0000
@@ -29,7 +29,7 @@
Salgado sees a message explaining that he can register his ssh key.
>>> browser = setupBrowser(
- ... auth='Basic guilherme.salgado@xxxxxxxxxxxxx:zeca')
+ ... auth='Basic guilherme.salgado@xxxxxxxxxxxxx:test')
>>> browser.open('http://launchpad.dev/~salgado')
>>> print browser.title
Guilherme Salgado in Launchpad
=== modified file 'lib/lp/registry/stories/person/xx-admin-person-review.txt'
--- lib/lp/registry/stories/person/xx-admin-person-review.txt 2010-10-03 15:30:06 +0000
+++ lib/lp/registry/stories/person/xx-admin-person-review.txt 2012-01-16 13:41:41 +0000
@@ -97,9 +97,8 @@
Registry experts can see the +review page, minus the displayname.
>>> email = "expert@xxxxxxxxxxx"
- >>> password = "test"
- >>> expert= factory.makeRegistryExpert(email=email, password=password)
- >>> expert_browser = setupBrowser(auth='Basic %s:%s' % (email, password))
+ >>> expert = factory.makeRegistryExpert(email=email, password="test")
+ >>> expert_browser = setupBrowser(auth='Basic %s:test' % email)
>>> logout()
>>> expert_browser.open('http://launchpad.dev/~no-priv/+review')
>>> print expert_browser.title
=== modified file 'lib/lp/registry/stories/person/xx-person-subscriptions.txt'
--- lib/lp/registry/stories/person/xx-person-subscriptions.txt 2011-04-15 11:02:24 +0000
+++ lib/lp/registry/stories/person/xx-person-subscriptions.txt 2012-01-16 13:41:41 +0000
@@ -29,8 +29,7 @@
>>> affluenza = factory.makeProduct(name='affluenza')
>>> bugB = factory.makeBug(product=affluenza,
... title='A terrible affliction')
- >>> subscriber = factory.makePerson(name='webster',
- ... password='g00dpassword')
+ >>> subscriber = factory.makePerson(name='webster', password='test')
>>> subscriptionA = bugA.subscribe(subscriber, subscriber)
>>> subscriptionB = bugB.subscribe(subscriber, subscriber)
>>> logout()
@@ -59,8 +58,7 @@
>>> login('foo.bar@xxxxxxxxxxxxx')
>>> subscriber_browser = setupBrowser(
- ... auth='Basic %s:g00dpassword' %
- ... subscriber.preferredemail.email)
+ ... auth='Basic %s:test' % subscriber.preferredemail.email)
>>> logout()
>>> subscriber_browser.open(
... 'http://bugs.launchpad.dev/~webster/+subscriptions')
@@ -262,12 +260,11 @@
>>> with celebrity_logged_in("admin"):
... nigel = factory.makePerson(
- ... name="nigel", displayname="Nigel",
- ... password="g00dpassword")
+ ... name="nigel", displayname="Nigel", password='test')
>>> with person_logged_in(nigel):
... nigel_subscription = scofflaw.addBugSubscription(nigel, nigel)
... nigel_browser = setupBrowser(
- ... auth='Basic %s:g00dpassword' % nigel.preferredemail.email)
+ ... auth='Basic %s:test' % nigel.preferredemail.email)
>>> def show_nigels_subscriptions():
... nigel_browser.open(
=== modified file 'lib/lp/registry/stories/person/xx-validate-email.txt'
--- lib/lp/registry/stories/person/xx-validate-email.txt 2011-12-20 10:21:46 +0000
+++ lib/lp/registry/stories/person/xx-validate-email.txt 2012-01-16 13:41:41 +0000
@@ -9,7 +9,7 @@
>>> from lp.services.mail import stub
>>> stub.test_emails[:] = []
- >>> browser = setupBrowser(auth='Basic salgado@xxxxxxxxxx:zeca')
+ >>> browser = setupBrowser(auth='Basic salgado@xxxxxxxxxx:test')
>>> browser.open('http://launchpad.dev/~salgado/+editemails')
>>> print browser.title
Change your e-mail settings...
=== modified file 'lib/lp/registry/stories/product/xx-product-files.txt'
--- lib/lp/registry/stories/product/xx-product-files.txt 2011-12-29 05:29:36 +0000
+++ lib/lp/registry/stories/product/xx-product-files.txt 2012-01-16 13:41:41 +0000
@@ -67,7 +67,7 @@
Again, for an authenticated user who is not the firefox product owner.
>>> non_owner = setupBrowser(
- ... auth='Basic celso.providelo@xxxxxxxxxxxxx:cprov')
+ ... auth='Basic celso.providelo@xxxxxxxxxxxxx:test')
>>> non_owner.open('http://launchpad.dev/firefox/+download')
>>> non_owner.url
'http://launchpad.dev/firefox/+download'
=== modified file 'lib/lp/registry/stories/productrelease/xx-productrelease-basics.txt'
--- lib/lp/registry/stories/productrelease/xx-productrelease-basics.txt 2011-12-30 06:14:56 +0000
+++ lib/lp/registry/stories/productrelease/xx-productrelease-basics.txt 2012-01-16 13:41:41 +0000
@@ -130,7 +130,7 @@
Let's add a release as Jeff:
- >>> browser = setupBrowser(auth='Basic jeff.waugh@xxxxxxxxxxxxxxx:jdub')
+ >>> browser = setupBrowser(auth='Basic jeff.waugh@xxxxxxxxxxxxxxx:test')
>>> browser.open('http://launchpad.dev/tomcat/trunk/+addmilestone')
>>> browser.getControl('Name').value = '0.6.6.6'
>>> browser.getControl('Register Milestone').click()
@@ -144,7 +144,7 @@
Celso is a member of ubuntu-team, so he can edit this release too:
- >>> browser = setupBrowser(auth='Basic celso.providelo@xxxxxxxxxxxxx:cprov')
+ >>> browser = setupBrowser(auth='Basic celso.providelo@xxxxxxxxxxxxx:test')
>>> browser.open('http://launchpad.dev/tomcat/trunk/0.6.6.6')
>>> browser.getLink('Change release details', index=0).click()
>>> print browser.title
=== modified file 'lib/lp/registry/stories/productrelease/xx-productrelease-delete.txt'
--- lib/lp/registry/stories/productrelease/xx-productrelease-delete.txt 2009-12-14 13:49:03 +0000
+++ lib/lp/registry/stories/productrelease/xx-productrelease-delete.txt 2012-01-16 13:41:41 +0000
@@ -31,7 +31,7 @@
Salgado has the necessary rights, so he sees the link and the +delete page.
- >>> salgados_browser = setupBrowser(auth='Basic salgado@xxxxxxxxxx:zeca')
+ >>> salgados_browser = setupBrowser(auth='Basic salgado@xxxxxxxxxx:test')
>>> salgados_browser.open('http://launchpad.dev/firefox/trunk/0.9.2')
>>> salgados_browser.getLink('Delete release').click()
>>> print salgados_browser.title
=== modified file 'lib/lp/registry/stories/project/xx-project-edit.txt'
--- lib/lp/registry/stories/project/xx-project-edit.txt 2011-12-13 23:06:54 +0000
+++ lib/lp/registry/stories/project/xx-project-edit.txt 2012-01-16 13:41:41 +0000
@@ -120,11 +120,10 @@
Registry experts are not allowed access to the +edit page.
>>> email = "expert@xxxxxxxxxxx"
- >>> password = "test"
>>> registry_expert= factory.makeRegistryExpert(email=email,
- ... password=password)
+ ... password="test")
>>> logout()
- >>> expert_browser = setupBrowser(auth='Basic %s:%s' % (email, password))
+ >>> expert_browser = setupBrowser(auth='Basic %s:test' % email)
>>> expert_browser.open('http://launchpad.dev/new-name')
>>> expert_browser.getLink('Change details').click()
=== modified file 'lib/lp/registry/stories/team-polls/create-poll-options.txt'
--- lib/lp/registry/stories/team-polls/create-poll-options.txt 2011-01-05 19:18:57 +0000
+++ lib/lp/registry/stories/team-polls/create-poll-options.txt 2012-01-16 13:41:41 +0000
@@ -16,7 +16,7 @@
Our poll is not yet open, so new options can be added to it.
>>> team_admin_browser = setupBrowser(
- ... auth='Basic jeff.waugh@xxxxxxxxxxxxxxx:jdub')
+ ... auth='Basic jeff.waugh@xxxxxxxxxxxxxxx:test')
>>> team_admin_browser.open(
... 'http://launchpad.dev/~ubuntu-team/+poll/dpl-2080')
>>> team_admin_browser.getLink('Add new option').click()
=== modified file 'lib/lp/registry/stories/team-polls/create-polls.txt'
--- lib/lp/registry/stories/team-polls/create-polls.txt 2011-09-27 13:07:52 +0000
+++ lib/lp/registry/stories/team-polls/create-polls.txt 2012-01-16 13:41:41 +0000
@@ -3,7 +3,7 @@
>>> no_priv_browser = setupBrowser(
... auth='Basic no-priv@xxxxxxxxxxxxx:test')
>>> team_admin_browser = setupBrowser(
- ... 'Basic jeff.waugh@xxxxxxxxxxxxxxx:jdub')
+ ... 'Basic jeff.waugh@xxxxxxxxxxxxxxx:test')
If you're not logged in and go to the +polls page of the "Ubuntu Team"
you'll see a link to login as a team administrator.
=== modified file 'lib/lp/registry/stories/team-polls/edit-options.txt'
--- lib/lp/registry/stories/team-polls/edit-options.txt 2011-01-05 19:18:57 +0000
+++ lib/lp/registry/stories/team-polls/edit-options.txt 2012-01-16 13:41:41 +0000
@@ -22,7 +22,7 @@
# Need to craft the URL manually because there's no link to it -- the
# option can't be changed, after all.
>>> browser = setupBrowser(
- ... auth='Basic jeff.waugh@xxxxxxxxxxxxxxx:jdub')
+ ... auth='Basic jeff.waugh@xxxxxxxxxxxxxxx:test')
>>> browser.open('http://launchpad.dev/~ubuntu-team/+poll/never-closes4/'
... '+option/20')
>>> print "\n".join(get_feedback_messages(browser.contents))
=== modified file 'lib/lp/registry/stories/team-polls/edit-poll.txt'
--- lib/lp/registry/stories/team-polls/edit-poll.txt 2011-01-05 19:18:57 +0000
+++ lib/lp/registry/stories/team-polls/edit-poll.txt 2012-01-16 13:41:41 +0000
@@ -16,7 +16,7 @@
Now we'll try to change its name to something that is already in use.
>>> team_admin_browser = setupBrowser(
- ... auth='Basic jeff.waugh@xxxxxxxxxxxxxxx:jdub')
+ ... auth='Basic jeff.waugh@xxxxxxxxxxxxxxx:test')
>>> team_admin_browser.open(
... 'http://launchpad.dev/~ubuntu-team/+poll/dpl-2080')
>>> team_admin_browser.getLink('Change details').click()
=== modified file 'lib/lp/registry/stories/team-polls/vote-poll.txt'
--- lib/lp/registry/stories/team-polls/vote-poll.txt 2011-01-05 19:18:57 +0000
+++ lib/lp/registry/stories/team-polls/vote-poll.txt 2012-01-16 13:41:41 +0000
@@ -76,7 +76,7 @@
yet.
>>> team_admin_browser = setupBrowser(
- ... auth='Basic jeff.waugh@xxxxxxxxxxxxxxx:jdub')
+ ... auth='Basic jeff.waugh@xxxxxxxxxxxxxxx:test')
>>> team_admin_browser.open(
... 'http://launchpad.dev/~ubuntu-team/+poll/never-closes/+vote')
>>> not_yet_voted_message = 'You have not yet voted in this poll.'
=== modified file 'lib/lp/registry/stories/team-polls/xx-poll-confirm-vote.txt'
--- lib/lp/registry/stories/team-polls/xx-poll-confirm-vote.txt 2011-01-05 19:18:57 +0000
+++ lib/lp/registry/stories/team-polls/xx-poll-confirm-vote.txt 2012-01-16 13:41:41 +0000
@@ -1,10 +1,12 @@
Logged in as 'jdub' (which voted in the director-2004 poll), let's see the
results of the director-2004 poll.
+ >>> import base64
+ >>> jdub_auth = base64.b64encode('jeff.waugh@xxxxxxxxxxxxxxx:test')
>>> print http(r"""
... GET /~ubuntu-team/+poll/director-2004 HTTP/1.1
- ... Authorization: Basic amVmZi53YXVnaEB1YnVudHVsaW51eC5jb206amR1Yg==
- ... """)
+ ... Authorization: Basic %s
+ ... """ % jdub_auth)
HTTP/1.1 200 Ok
...
...2004 Director's Elections...
@@ -22,10 +24,10 @@
>>> print http(r"""
... POST /~ubuntu-team/+poll/director-2004 HTTP/1.1
- ... Authorization: Basic amVmZi53YXVnaEB1YnVudHVsaW51eC5jb206amR1Yg==
+ ... Authorization: Basic %s
... Content-Type: application/x-www-form-urlencoded
...
- ... token=9WjxQq2V9p&showvote=Show+My+Vote""")
+ ... token=9WjxQq2V9p&showvote=Show+My+Vote""" % jdub_auth)
HTTP/1.1 200 Ok
...
<p>Your vote was as follows:</p>
@@ -61,8 +63,8 @@
>>> print http(r"""
... GET /~ubuntu-team/+poll/leader-2004 HTTP/1.1
- ... Authorization: Basic amVmZi53YXVnaEB1YnVudHVsaW51eC5jb206amR1Yg==
- ... """)
+ ... Authorization: Basic %s
+ ... """ % jdub_auth)
HTTP/1.1 200 Ok
...
...2004 Leader's Elections...
@@ -77,10 +79,10 @@
>>> print http(r"""
... POST /~ubuntu-team/+poll/leader-2004 HTTP/1.1
- ... Authorization: Basic amVmZi53YXVnaEB1YnVudHVsaW51eC5jb206amR1Yg==
+ ... Authorization: Basic %s
... Content-Type: application/x-www-form-urlencoded
...
- ... token=W7gR5mjNrX&showvote=Show+My+Vote""")
+ ... token=W7gR5mjNrX&showvote=Show+My+Vote""" % jdub_auth)
HTTP/1.1 200 Ok
...
<p>Your vote was for
=== modified file 'lib/lp/registry/stories/team/xx-team-membership.txt'
--- lib/lp/registry/stories/team/xx-team-membership.txt 2011-12-24 15:18:32 +0000
+++ lib/lp/registry/stories/team/xx-team-membership.txt 2012-01-16 13:41:41 +0000
@@ -115,7 +115,7 @@
demote himself. He starts by paging though the memberships, then he deselects
the administrator control on the membership page.
- >>> jdub_browser = setupBrowser(auth='Basic jeff.waugh@xxxxxxxxxxxxxxx:jdub')
+ >>> jdub_browser = setupBrowser(auth='Basic jeff.waugh@xxxxxxxxxxxxxxx:test')
>>> jdub_browser.open('http://launchpad.dev/~ubuntu-team/+members')
>>> jdub_browser.getLink('Next').click()
>>> url = '/~ubuntu-team/+member/jdub'
=== modified file 'lib/lp/registry/stories/teammembership/private-team.txt'
--- lib/lp/registry/stories/teammembership/private-team.txt 2009-12-24 01:41:54 +0000
+++ lib/lp/registry/stories/teammembership/private-team.txt 2012-01-16 13:41:41 +0000
@@ -25,7 +25,7 @@
'Private Team in Launchpad'
>>> cprov_browser = setupBrowser(
- ... auth='Basic celso.providelo@xxxxxxxxxxxxx:cprov')
+ ... auth='Basic celso.providelo@xxxxxxxxxxxxx:test')
>>> cprov_browser.open('http://launchpad.dev/~private-team')
>>> cprov_browser.title
'Private Team in Launchpad'
=== modified file 'lib/lp/registry/stories/teammembership/xx-teammembership.txt'
--- lib/lp/registry/stories/teammembership/xx-teammembership.txt 2011-12-29 05:29:36 +0000
+++ lib/lp/registry/stories/teammembership/xx-teammembership.txt 2012-01-16 13:41:41 +0000
@@ -191,7 +191,7 @@
>>> myemail.syncUpdate()
>>> browser = setupBrowser(
- ... auth='Basic james.blackwell@xxxxxxxxxxxxxxx:jblack')
+ ... auth='Basic james.blackwell@xxxxxxxxxxxxxxx:test')
>>> browser.open('http://launchpad.dev/~myemail')
>>> print extract_text(
... find_tag_by_id(browser.contents, 'subscription-policy'))
@@ -233,7 +233,7 @@
>>> myemail.syncUpdate()
>>> browser = setupBrowser(
- ... auth='Basic jeff.waugh@xxxxxxxxxxxxxxx:jdub')
+ ... auth='Basic jeff.waugh@xxxxxxxxxxxxxxx:test')
>>> browser.open('http://launchpad.dev/~myemail')
>>> browser.url
'http://launchpad.dev/~myemail'
=== modified file 'lib/lp/registry/stories/vouchers/xx-voucher-redemption.txt'
--- lib/lp/registry/stories/vouchers/xx-voucher-redemption.txt 2011-10-17 07:58:30 +0000
+++ lib/lp/registry/stories/vouchers/xx-voucher-redemption.txt 2012-01-16 13:41:41 +0000
@@ -74,7 +74,7 @@
successful voucher redemption.
>>> browser = setupBrowser(
- ... auth='Basic celso.providelo@xxxxxxxxxxxxx:cprov')
+ ... auth='Basic celso.providelo@xxxxxxxxxxxxx:test')
>>> browser.open('http://launchpad.dev/~cprov/+vouchers')
>>> browser.getControl(name='field.project').value='aptoncd'
>>> browser.getControl(name='field.voucher').value = [
=== modified file 'lib/lp/registry/tests/test_person.py'
--- lib/lp/registry/tests/test_person.py 2012-01-16 00:10:41 +0000
+++ lib/lp/registry/tests/test_person.py 2012-01-16 13:41:41 +0000
@@ -980,7 +980,7 @@
def test_get_recipients_indirect(self):
"""Ensure get_recipients uses indirect memberships."""
owner = self.factory.makePerson(
- displayname='Foo Bar', email='foo@xxxxxxx', password='password')
+ displayname='Foo Bar', email='foo@xxxxxxx')
team = self.factory.makeTeam(owner)
super_team = self.factory.makeTeam(team)
recipients = get_recipients(super_team)
@@ -989,7 +989,7 @@
def test_get_recipients_team(self):
"""Ensure get_recipients uses teams with preferredemail."""
owner = self.factory.makePerson(
- displayname='Foo Bar', email='foo@xxxxxxx', password='password')
+ displayname='Foo Bar', email='foo@xxxxxxx')
team = self.factory.makeTeam(owner, email='team@xxxxxxx')
super_team = self.factory.makeTeam(team)
recipients = get_recipients(super_team)
@@ -1026,7 +1026,7 @@
def test_get_recipients_complex_indirect(self):
"""Ensure get_recipients uses indirect memberships."""
owner = self.factory.makePerson(
- displayname='Foo Bar', email='foo@xxxxxxx', password='password')
+ displayname='Foo Bar', email='foo@xxxxxxx')
team = self.factory.makeTeam(owner)
super_team_member_person = self.factory.makePerson(
displayname='Bing Bar', email='bing@xxxxxxx')
=== modified file 'lib/lp/services/feeds/stories/xx-links.txt'
--- lib/lp/services/feeds/stories/xx-links.txt 2011-12-30 06:14:56 +0000
+++ lib/lp/services/feeds/stories/xx-links.txt 2012-01-16 13:41:41 +0000
@@ -51,7 +51,7 @@
>>> login(ANONYMOUS)
>>> user = getUtility(IPersonSet).getByEmail('daf@xxxxxxxxxxxxx')
>>> logout()
- >>> auth_browser = setupBrowserForUser(user, 'daf')
+ >>> auth_browser = setupBrowserForUser(user)
# First check that the bug exists.
>>> auth_browser.open('http://launchpad.dev/bugs/14')
=== modified file 'lib/lp/services/oauth/stories/managing-tokens.txt'
--- lib/lp/services/oauth/stories/managing-tokens.txt 2011-12-24 17:49:30 +0000
+++ lib/lp/services/oauth/stories/managing-tokens.txt 2012-01-16 13:41:41 +0000
@@ -24,7 +24,7 @@
>>> logout()
# View the tokens.
- >>> my_browser = setupBrowser(auth='Basic salgado@xxxxxxxxxx:zeca')
+ >>> my_browser = setupBrowser(auth='Basic salgado@xxxxxxxxxx:test')
>>> my_browser.open('http://launchpad.dev/~salgado/+oauth-tokens')
>>> print my_browser.title
Authorized applications...
=== modified file 'lib/lp/soyuz/stories/ppa/xx-copy-packages.txt'
--- lib/lp/soyuz/stories/ppa/xx-copy-packages.txt 2011-12-30 06:14:56 +0000
+++ lib/lp/soyuz/stories/ppa/xx-copy-packages.txt 2012-01-16 13:41:41 +0000
@@ -49,10 +49,10 @@
PPA in order to be able to copy packages.
>>> jblack_browser = setupBrowser(
- ... auth="Basic james.blackwell@xxxxxxxxxxxxxxx:jblack")
+ ... auth="Basic james.blackwell@xxxxxxxxxxxxxxx:test")
>>> jblack_extra_browser = setupBrowser(
- ... auth="Basic james.blackwell@xxxxxxxxxxxxxxx:jblack")
+ ... auth="Basic james.blackwell@xxxxxxxxxxxxxxx:test")
>>> jblack_browser.open(
... 'http://launchpad.dev/~cprov/+archive/ppa/+packages')
=== modified file 'lib/lp/soyuz/stories/ppa/xx-delete-packages.txt'
--- lib/lp/soyuz/stories/ppa/xx-delete-packages.txt 2011-12-30 06:14:56 +0000
+++ lib/lp/soyuz/stories/ppa/xx-delete-packages.txt 2012-01-16 13:41:41 +0000
@@ -37,7 +37,7 @@
Celso's PPA.
>>> cprov_browser = setupBrowser(
- ... auth="Basic celso.providelo@xxxxxxxxxxxxx:cprov")
+ ... auth="Basic celso.providelo@xxxxxxxxxxxxx:test")
>>> cprov_browser.open(
... 'http://launchpad.dev/~cprov/+archive/ppa/+packages')
>>> cprov_browser.getLink('Delete packages').click()
=== modified file 'lib/lp/soyuz/stories/ppa/xx-edit-dependencies.txt'
--- lib/lp/soyuz/stories/ppa/xx-edit-dependencies.txt 2010-01-12 08:35:03 +0000
+++ lib/lp/soyuz/stories/ppa/xx-edit-dependencies.txt 2012-01-16 13:41:41 +0000
@@ -51,7 +51,7 @@
page for Celso's PPA.
>>> cprov_browser = setupBrowser(
- ... auth="Basic celso.providelo@xxxxxxxxxxxxx:cprov")
+ ... auth="Basic celso.providelo@xxxxxxxxxxxxx:test")
>>> cprov_browser.open('http://launchpad.dev/~cprov/+archive/ppa')
>>> cprov_browser.getLink('Edit PPA dependencies').click()
>>> print cprov_browser.url
=== modified file 'lib/lp/soyuz/stories/ppa/xx-ppa-navigation.txt'
--- lib/lp/soyuz/stories/ppa/xx-ppa-navigation.txt 2011-07-13 06:08:16 +0000
+++ lib/lp/soyuz/stories/ppa/xx-ppa-navigation.txt 2012-01-16 13:41:41 +0000
@@ -31,7 +31,7 @@
There is a link that allows users with permission to create a PPA.
>>> cprov_browser = setupBrowser(
- ... auth="Basic celso.providelo@xxxxxxxxxxxxx:cprov")
+ ... auth="Basic celso.providelo@xxxxxxxxxxxxx:test")
>>> cprov_browser.open("http://launchpad.dev/~cprov")
>>> cprov_browser.getLink('Launchpad Buildd Admins').click()
@@ -61,7 +61,7 @@
The PPA breadcrumb follows the PPA displayname.
>>> cprov_browser = setupBrowser(
- ... auth="Basic celso.providelo@xxxxxxxxxxxxx:cprov")
+ ... auth="Basic celso.providelo@xxxxxxxxxxxxx:test")
>>> cprov_browser.open("http://launchpad.dev/~cprov/+archive/ppa")
>>> cprov_browser.getLink("Change details").click()
>>> cprov_browser.getControl(
=== modified file 'lib/lp/soyuz/stories/ppa/xx-ppa-packages.txt'
--- lib/lp/soyuz/stories/ppa/xx-ppa-packages.txt 2011-12-30 06:14:56 +0000
+++ lib/lp/soyuz/stories/ppa/xx-ppa-packages.txt 2012-01-16 13:41:41 +0000
@@ -208,7 +208,7 @@
in as Celso.
>>> cprov_browser = setupBrowser(
- ... auth="Basic celso.providelo@xxxxxxxxxxxxx:cprov")
+ ... auth="Basic celso.providelo@xxxxxxxxxxxxx:test")
>>> cprov_browser.open(
... "http://launchpad.dev/~joe/+archive/ppa/+packages")
>>> expander_url = cprov_browser.getLink(id=expander_link_id).url
@@ -443,7 +443,7 @@
quickly 'retry' the failure.
>>> cprov_browser = setupBrowser(
- ... auth='Basic celso.providelo@xxxxxxxxxxxxx:cprov')
+ ... auth='Basic celso.providelo@xxxxxxxxxxxxx:test')
>>> cprov_browser.open(
... "http://launchpad.dev/~cprov/+archive/ppa/+packages")
=== modified file 'lib/lp/soyuz/stories/ppa/xx-ppa-private-teams.txt'
--- lib/lp/soyuz/stories/ppa/xx-ppa-private-teams.txt 2011-01-29 00:19:18 +0000
+++ lib/lp/soyuz/stories/ppa/xx-ppa-private-teams.txt 2012-01-16 13:41:41 +0000
@@ -25,7 +25,7 @@
user/team page.
>>> browser = setupBrowser(
- ... auth='Basic celso.providelo@xxxxxxxxxxxxx:cprov')
+ ... auth='Basic celso.providelo@xxxxxxxxxxxxx:test')
>>> browser.open("http://launchpad.dev/~private-team")
>>> print_tag_with_id(browser.contents, 'ppas')
=== modified file 'lib/lp/soyuz/stories/ppa/xx-ppa-workflow.txt'
--- lib/lp/soyuz/stories/ppa/xx-ppa-workflow.txt 2011-10-06 22:41:26 +0000
+++ lib/lp/soyuz/stories/ppa/xx-ppa-workflow.txt 2012-01-16 13:41:41 +0000
@@ -160,7 +160,7 @@
anyone with 'launchpad.Edit' permission in the team in question:
/
>>> cprov_browser = setupBrowser(
- ... auth="Basic celso.providelo@xxxxxxxxxxxxx:cprov")
+ ... auth="Basic celso.providelo@xxxxxxxxxxxxx:test")
>>> cprov_browser.open("http://launchpad.dev/~landscape-developers")
>>> print find_tag_by_id(cprov_browser.contents, 'ppas')
=== modified file 'lib/lp/soyuz/stories/ppa/xx-private-ppa-presentation.txt'
--- lib/lp/soyuz/stories/ppa/xx-private-ppa-presentation.txt 2010-02-24 15:15:25 +0000
+++ lib/lp/soyuz/stories/ppa/xx-private-ppa-presentation.txt 2012-01-16 13:41:41 +0000
@@ -31,7 +31,7 @@
presentation for private items.
>>> cprov_browser = setupBrowser(
- ... auth='Basic celso.providelo@xxxxxxxxxxxxx:cprov')
+ ... auth='Basic celso.providelo@xxxxxxxxxxxxx:test')
>>> cprov_browser.open("http://launchpad.dev/~cprov/+archive/p3a")
>>> from BeautifulSoup import BeautifulSoup, SoupStrainer
>>> body_el = BeautifulSoup(cprov_browser.contents).first('body')
=== modified file 'lib/lp/soyuz/stories/ppa/xx-private-ppa-subscription-stories.txt'
--- lib/lp/soyuz/stories/ppa/xx-private-ppa-subscription-stories.txt 2011-12-08 19:37:55 +0000
+++ lib/lp/soyuz/stories/ppa/xx-private-ppa-subscription-stories.txt 2012-01-16 13:41:41 +0000
@@ -44,7 +44,7 @@
and a browser for Celso currently navigated to the Manage Subscriptions page,
>>> cprov_browser = setupBrowser(
- ... auth="Basic celso.providelo@xxxxxxxxxxxxx:cprov")
+ ... auth="Basic celso.providelo@xxxxxxxxxxxxx:test")
>>> cprov_browser.open(
... "http://launchpad.dev/~cprov/+archive/p3a/+subscriptions")
=== modified file 'lib/lp/soyuz/stories/ppa/xx-private-ppa-subscriptions.txt'
--- lib/lp/soyuz/stories/ppa/xx-private-ppa-subscriptions.txt 2011-06-29 16:28:19 +0000
+++ lib/lp/soyuz/stories/ppa/xx-private-ppa-subscriptions.txt 2012-01-16 13:41:41 +0000
@@ -8,7 +8,7 @@
Public PPAs do not have an option for managing subscriptions:
>>> cprov_browser = setupBrowser(
- ... auth="Basic celso.providelo@xxxxxxxxxxxxx:cprov")
+ ... auth="Basic celso.providelo@xxxxxxxxxxxxx:test")
>>> cprov_browser.open("http://launchpad.dev/~cprov/+archive/ppa")
>>> cprov_browser.getLink("Manage subscriptions")
Traceback (most recent call last):
=== modified file 'lib/lp/soyuz/stories/ppa/xx-private-ppas.txt'
--- lib/lp/soyuz/stories/ppa/xx-private-ppas.txt 2010-10-14 11:06:48 +0000
+++ lib/lp/soyuz/stories/ppa/xx-private-ppas.txt 2012-01-16 13:41:41 +0000
@@ -44,7 +44,7 @@
The owner of the archive will see his own archive in the listing:
>>> cprov_browser = setupBrowser(
- ... auth="Basic celso.providelo@xxxxxxxxxxxxx:cprov")
+ ... auth="Basic celso.providelo@xxxxxxxxxxxxx:test")
>>> cprov_browser.open("http://launchpad.dev/ubuntu/+ppas")
>>> cprov_browser.getControl(name="show_inactive").value = True
>>> cprov_browser.getControl('Search', index=0).click()
=== modified file 'lib/lp/soyuz/stories/soyuz/xx-builder-page.txt'
--- lib/lp/soyuz/stories/soyuz/xx-builder-page.txt 2011-12-23 23:44:59 +0000
+++ lib/lp/soyuz/stories/soyuz/xx-builder-page.txt 2012-01-16 13:41:41 +0000
@@ -67,7 +67,7 @@
the builder actions.
>>> cprov_browser = setupBrowser(
- ... auth='Basic celso.providelo@xxxxxxxxxxxxx:cprov')
+ ... auth='Basic celso.providelo@xxxxxxxxxxxxx:test')
>>> cprov_browser.open('http://launchpad.dev/builders')
>>> cprov_browser.getLink('bob').click()
=== modified file 'lib/lp/soyuz/stories/soyuz/xx-private-builds.txt'
--- lib/lp/soyuz/stories/soyuz/xx-private-builds.txt 2011-12-30 06:14:56 +0000
+++ lib/lp/soyuz/stories/soyuz/xx-private-builds.txt 2012-01-16 13:41:41 +0000
@@ -95,7 +95,7 @@
cprov is also allowed to see his own build:
>>> cprov_browser = setupBrowser(
- ... auth="Basic celso.providelo@xxxxxxxxxxxxx:cprov")
+ ... auth="Basic celso.providelo@xxxxxxxxxxxxx:test")
>>> cprov_browser.open("http://launchpad.dev/+builds/frog")
>>> print extract_text(find_main_content(cprov_browser.contents))
The frog builder...
=== modified file 'lib/lp/soyuz/stories/soyuz/xx-queue-pages-delayed-copies.txt'
--- lib/lp/soyuz/stories/soyuz/xx-queue-pages-delayed-copies.txt 2011-12-29 05:29:36 +0000
+++ lib/lp/soyuz/stories/soyuz/xx-queue-pages-delayed-copies.txt 2012-01-16 13:41:41 +0000
@@ -79,7 +79,7 @@
archive, nothing else.
>>> cprov_browser = setupBrowser(
- ... auth="Basic celso.providelo@xxxxxxxxxxxxx:cprov")
+ ... auth="Basic celso.providelo@xxxxxxxxxxxxx:test")
>>> cprov_browser.open(anon_browser.url)
>>> for row in find_tags_by_class(cprov_browser.contents, "queue-row"):
=== modified file 'lib/lp/translations/stories/distribution/xx-distribution-translations.txt'
--- lib/lp/translations/stories/distribution/xx-distribution-translations.txt 2010-12-27 17:24:20 +0000
+++ lib/lp/translations/stories/distribution/xx-distribution-translations.txt 2012-01-16 13:41:41 +0000
@@ -132,7 +132,7 @@
Administrator can change the translation focus for a distribution.
>>> editor_browser = setupBrowser(
- ... auth='Basic jeff.waugh@xxxxxxxxxxxxxxx:jdub')
+ ... auth='Basic jeff.waugh@xxxxxxxxxxxxxxx:test')
>>> editor_browser.open('http://launchpad.dev/ubuntu')
>>> editor_browser.getLink('Change details').click()
>>> editor_browser.getControl('Translation focus').displayValue
=== modified file 'lib/lp/translations/stories/productseries/xx-productseries-export-to-branch.txt'
--- lib/lp/translations/stories/productseries/xx-productseries-export-to-branch.txt 2011-12-08 18:33:45 +0000
+++ lib/lp/translations/stories/productseries/xx-productseries-export-to-branch.txt 2012-01-16 13:41:41 +0000
@@ -8,7 +8,7 @@
>>> from lp.app.enums import ServiceUsage
>>> login(ANONYMOUS)
- >>> owner = factory.makePerson(email='x@xxxxxxxxxxx', password='****')
+ >>> owner = factory.makePerson(email='x@xxxxxxxxxxx', password='test')
>>> product = factory.makeProduct(owner=owner,
... translations_usage=ServiceUsage.LAUNCHPAD)
>>> productseries = product.getSeries('trunk')
@@ -47,7 +47,7 @@
>>> link_page = productseries_url + '/+link-translations-branch'
>>> logout()
- >>> owner_browser = setupBrowser(auth='Basic x@xxxxxxxxxxx:****')
+ >>> owner_browser = setupBrowser(auth='Basic x@xxxxxxxxxxx:test')
>>> owner_browser.open(settings_page)
The settings page currently shows that no branch has been selected.
=== modified file 'lib/lp/translations/stories/standalone/xx-pofile-translate-alternative-language.txt'
--- lib/lp/translations/stories/standalone/xx-pofile-translate-alternative-language.txt 2011-12-22 05:09:10 +0000
+++ lib/lp/translations/stories/standalone/xx-pofile-translate-alternative-language.txt 2012-01-16 13:41:41 +0000
@@ -49,7 +49,7 @@
The same goes for a user who has no preferred languages set.
>>> user_browser = setupBrowser(
- ... auth='Basic jeff.waugh@xxxxxxxxxxxxxxx:jdub')
+ ... auth='Basic jeff.waugh@xxxxxxxxxxxxxxx:test')
>>> user_browser.open(translate_page)
>>> get_alternative_languages_widget(user_browser).displayOptions[:4]
['(no value)', 'Abkhazian (ab)', 'Achinese (ace)', 'Acoli (ach)']
=== modified file 'lib/lp/translations/stories/standalone/xx-sourcepackage-export.txt'
--- lib/lp/translations/stories/standalone/xx-sourcepackage-export.txt 2011-12-30 06:14:56 +0000
+++ lib/lp/translations/stories/standalone/xx-sourcepackage-export.txt 2012-01-16 13:41:41 +0000
@@ -149,7 +149,7 @@
"cprov" is able to download translations as an Ubuntu uploader.
>>> ubuntu_member_browser = setupBrowser(
- ... auth='Basic cprov@xxxxxxxxxx:cprov')
+ ... auth='Basic cprov@xxxxxxxxxx:test')
>>> can_download_translations(ubuntu_member_browser)
True