Module Expr Str Import alias ImportFrom alias alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore ListLoad Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Str Assign NameStore Dict Str Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Str Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign NameStore Dict Str Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign NameStore Dict Str Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad keyword NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore ListLoad Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Num Num Str NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad TupleLoad Str Str TupleLoad Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Str NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Str Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr BinOpAdd ListLoad Str Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad TupleLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad Str Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad Str Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Str Num Num Str NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad Str Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Str Num Num Str NameLoad AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr TupleLoad Str Assign AttributeStore NameLoad attr ListLoad TupleLoad Str Str TupleLoad Str Str Assign AttributeStore NameLoad attr NameLoad Assign NameStore ListComp SubscriptLoad NameLoad Index Num comprehension NameStore AttributeLoad NameLoad attr Assign NameStore ListLoad Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str Str Str Str Str AttributeLoad NameLoad attr attr TupleLoad Str Str Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad Str Str keyword Num Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Expr Call AttributeLoad NameLoad attr NameLoad ListLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Num Num Str ListLoad TupleLoad Str Str TupleLoad Str Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore ListLoad Str Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr TupleLoad Num Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str Str Str Str Str AttributeLoad NameLoad attr attr TupleLoad Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad Str Str keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Num Num Str ListLoad TupleLoad Str Str TupleLoad Str Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore ListLoad Str Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr TupleLoad Num Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str Str Str Str AttributeLoad NameLoad attr attr TupleLoad Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad Str Str keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Num Num Str ListLoad TupleLoad Str Str TupleLoad Str Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore ListLoad Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr TupleLoad Num Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str Str Str Str AttributeLoad NameLoad attr attr TupleLoad Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad Str Str keyword Num Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Expr Call AttributeLoad NameLoad attr NameLoad ListLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list decorator_list If CompareEq NameLoad Str body Import alias Expr Call AttributeLoad NameLoad attr
N/A N/A Unit tests for gcl.py. N/A gcl super_mox mox SuperMoxTestBase GclTestsBase N/A SuperMoxTestBase N/A N/A Setups and tear downs the mocks but doesn't test anything as-is. setUp N/A N/A self N/A N/A N/A N/A N/A SuperMoxTestBase setUp self N/A N/A self fake_root_dir N/A N/A self RootDir N/A N/A N/A N/A self mox StubOutWithMock gcl RunShell N/A N/A N/A N/A self mox StubOutWithMock N/A gcl SVN CaptureInfo N/A N/A N/A N/A self mox StubOutWithMock gcl tempfile N/A N/A N/A N/A self mox StubOutWithMock N/A gcl upload RealMain N/A N/A N/A N/A self mox StubOutWithMock gcl ReadFile N/A N/A N/A N/A self mox StubOutWithMock gcl WriteFile N/A N/A GclUnittest N/A GclTestsBase N/A N/A General gcl.py tests. testMembersChanged N/A N/A self N/A N/A N/A N/A N/A N/A self mox ReplayAll N/A members N/A CODEREVIEW_SETTINGS CODEREVIEW_SETTINGS_FILE Change ChangeInfo Changes Commit DEFAULT_LINT_IGNORE_REGEX DEFAULT_LINT_REGEX DeleteEmptyChangeLists DoPresubmitChecks ErrorExit FILES_CACHE FilterFlag GenerateChangeName GenerateDiff GetCLs GetCacheDir GetCachedFile GetChangelistInfoFile GetChangesDir GetCodeReviewSetting GetEditor GetFilesNotInCL GetInfoDir GetIssueDescription GetModifiedFiles GetRepositoryRoot Help Lint LoadChangelistInfoForMultiple MISSING_TEST_MSG Opened OptionallyDoPresubmitChecks PresubmitCL REPOSITORY_ROOT ReadFile RunShell RunShellWithReturnCode SVN SendToRietveld TryChange UnknownFiles UploadCL Warn WriteFile gclient_utils getpass main os random re shutil string subprocess sys tempfile upload urllib2 N/A N/A N/A self compareMembers gcl members N/A testIsSVNMoved N/A N/A self N/A N/A N/A N/A testGetSVNFileProperty N/A N/A self N/A N/A N/A N/A testUnknownFiles N/A N/A self N/A N/A N/A N/A testGetRepositoryRootNone N/A N/A self N/A N/A N/A N/A gcl REPOSITORY_ROOT None N/A N/A N/A N/A N/A N/A gcl os getcwd AndReturn /bleh/prout N/A result N/A Repository Root N/A N/A N/A N/A N/A N/A gcl SVN CaptureInfo /bleh/prout print_error False AndReturn result N/A N/A N/A N/A self mox ReplayAll N/A N/A N/A self assertRaises Exception N/A gcl GetRepositoryRoot N/A testGetRepositoryRootGood N/A N/A self N/A N/A N/A N/A gcl REPOSITORY_ROOT None N/A root_path N/A N/A N/A N/A gcl os path join bleh prout pouet N/A N/A N/A N/A N/A N/A gcl os getcwd AndReturn root_path N/A result1 N/A Repository Root Some root N/A N/A N/A N/A N/A N/A gcl SVN CaptureInfo root_path print_error False AndReturn result1 N/A N/A N/A N/A N/A N/A gcl os getcwd AndReturn root_path N/A results2 N/A Repository Root A different root N/A N/A N/A N/A N/A N/A gcl SVN CaptureInfo N/A N/A N/A N/A gcl os path dirname root_path print_error False AndReturn results2 N/A N/A N/A N/A self mox ReplayAll N/A N/A N/A self assertEquals N/A N/A gcl GetRepositoryRoot root_path N/A testGetCachedFile N/A N/A self N/A N/A N/A N/A testGetCodeReviewSetting N/A N/A self N/A N/A N/A N/A testGetChangelistInfoFile N/A N/A self N/A N/A N/A N/A testLoadChangelistInfoForMultiple N/A N/A self N/A N/A N/A N/A testGetModifiedFiles N/A N/A self N/A N/A N/A N/A testGetFilesNotInCL N/A N/A self N/A N/A N/A N/A testSendToRietveld N/A N/A self N/A N/A N/A N/A testOpened N/A N/A self N/A N/A N/A N/A testHelp N/A N/A self N/A N/A N/A N/A N/A N/A N/A gcl sys stdout write N/A N/A mox StrContains GCL is a wrapper for Subversion N/A N/A N/A N/A N/A gcl sys stdout write N/A N/A N/A N/A self mox ReplayAll N/A N/A N/A gcl Help N/A testGenerateDiff N/A N/A self N/A N/A N/A N/A testPresubmitCL N/A N/A self N/A N/A N/A N/A testTryChange N/A N/A self N/A N/A N/A N/A testCommit N/A N/A self N/A N/A N/A N/A testChange N/A N/A self N/A N/A N/A N/A testLint N/A N/A self N/A N/A N/A N/A testDoPresubmitChecks N/A N/A self N/A N/A N/A N/A N/A ChangeInfoUnittest N/A GclTestsBase N/A setUp N/A N/A self N/A N/A N/A N/A N/A GclTestsBase setUp self N/A N/A N/A N/A self mox StubOutWithMock gcl GetChangelistInfoFile N/A N/A N/A N/A self mox StubOutWithMock gcl GetRepositoryRoot N/A testChangeInfoMembers N/A N/A self N/A N/A N/A N/A N/A N/A self mox ReplayAll N/A members N/A CloseIssue Delete GetFiles GetFileNames GetLocalRoot Exists Load MissingTests NeedsUpload Save UpdateRietveldDescription description issue name needs_upload patch patchset N/A N/A N/A self compareMembers N/A N/A gcl ChangeInfo 0 0 None N/A self fake_root_dir members N/A testChangeInfoBase N/A N/A self N/A N/A N/A files N/A N/A M foo N/A A bar N/A N/A N/A N/A self mox ReplayAll N/A o N/A N/A gcl ChangeInfo name2 42 53 description2 files N/A self fake_root_dir N/A N/A N/A self assertEquals N/A o name name2 N/A N/A N/A self assertEquals N/A o issue 42 N/A N/A N/A self assertEquals N/A o patchset 53 N/A N/A N/A self assertEquals N/A o description description2 N/A N/A N/A self assertEquals N/A o patch None N/A N/A N/A self assertEquals N/A N/A o GetFileNames N/A foo bar N/A N/A N/A self assertEquals N/A N/A o GetFiles files N/A N/A N/A self assertEquals N/A N/A o GetLocalRoot N/A self fake_root_dir N/A testLoadWithIssue N/A N/A self N/A N/A N/A description N/A This is some description. force an extra separator. N/A N/A N/A N/A N/A gcl GetChangelistInfoFile bleh AndReturn bleeeh N/A N/A N/A N/A N/A N/A N/A gcl os path exists bleeeh AndReturn True N/A N/A N/A N/A N/A gcl ReadFile bleeeh AndReturn N/A N/A N/A N/A gcl ChangeInfo _SEPARATOR join N/A N/A 42, 53 G      b.cc description N/A N/A N/A N/A self mox ReplayAll N/A change_info N/A N/A N/A gcl ChangeInfo Load bleh N/A self fake_root_dir True False N/A N/A N/A self assertEquals N/A change_info name bleh N/A N/A N/A self assertEquals N/A change_info issue 42 N/A N/A N/A self assertEquals N/A change_info patchset 53 N/A N/A N/A self assertEquals N/A change_info description N/A N/A N/A N/A gcl ChangeInfo _SEPARATOR join description N/A N/A N/A self assertEquals N/A N/A change_info GetFiles N/A N/A G       b.cc N/A testLoadEmpty N/A N/A self N/A N/A N/A N/A N/A N/A N/A gcl GetChangelistInfoFile bleh AndReturn bleeeh N/A N/A N/A N/A N/A N/A N/A gcl os path exists bleeeh AndReturn True N/A N/A N/A N/A N/A gcl ReadFile bleeeh AndReturn N/A N/A N/A N/A gcl ChangeInfo _SEPARATOR join N/A N/A N/A N/A N/A self mox ReplayAll N/A change_info N/A N/A N/A gcl ChangeInfo Load bleh N/A self fake_root_dir True False N/A N/A N/A self assertEquals N/A change_info name bleh N/A N/A N/A self assertEquals N/A change_info issue 0 N/A N/A N/A self assertEquals N/A change_info patchset 0 N/A N/A N/A self assertEquals N/A change_info description N/A N/A N/A self assertEquals N/A N/A change_info GetFiles N/A N/A testSaveEmpty N/A N/A self N/A N/A N/A N/A N/A N/A N/A gcl GetChangelistInfoFile AndReturn foo N/A N/A N/A gcl WriteFile foo N/A N/A N/A N/A gcl ChangeInfo _SEPARATOR join N/A 0, 0, clean N/A N/A N/A N/A self mox ReplayAll N/A change_info N/A N/A gcl ChangeInfo 0 0 None N/A self fake_root_dir N/A N/A N/A change_info Save N/A testSaveDirty N/A N/A self N/A N/A N/A N/A N/A N/A N/A gcl GetChangelistInfoFile AndReturn foo N/A N/A N/A gcl WriteFile foo N/A N/A N/A N/A gcl ChangeInfo _SEPARATOR join N/A 0, 0, dirty N/A N/A N/A N/A self mox ReplayAll N/A change_info N/A N/A gcl ChangeInfo 0 0 None N/A self fake_root_dir needs_upload True N/A N/A N/A change_info Save N/A N/A UploadCLUnittest N/A GclTestsBase N/A setUp N/A N/A self N/A N/A N/A N/A N/A GclTestsBase setUp self N/A N/A N/A N/A self mox StubOutWithMock gcl DoPresubmitChecks N/A N/A N/A N/A self mox StubOutWithMock gcl GenerateDiff N/A N/A N/A N/A self mox StubOutWithMock gcl GetCodeReviewSetting N/A N/A N/A N/A self mox StubOutWithMock gcl GetRepositoryRoot N/A N/A N/A N/A self mox StubOutWithMock gcl SendToRietveld N/A N/A N/A N/A self mox StubOutWithMock gcl TryChange N/A testNew N/A N/A self N/A N/A N/A change_info N/A N/A N/A self mox CreateMock N/A gcl ChangeInfo N/A N/A change_info name naame N/A N/A change_info issue 1 N/A N/A change_info patchset 0 N/A N/A change_info description N/A deescription N/A N/A change_info files N/A N/A A aa N/A M bb N/A N/A change_info patch None N/A files N/A N/A item N/A 1 N/A item N/A change_info files N/A args N/A --foo=bar N/A N/A N/A N/A N/A gcl DoPresubmitChecks change_info False True AndReturn True N/A N/A N/A N/A N/A gcl GetCodeReviewSetting CODE_REVIEW_SERVER AndReturn my_server N/A N/A N/A N/A N/A N/A gcl os getcwd AndReturn somewhere N/A N/A N/A N/A N/A change_info GetFiles AndReturn N/A change_info files N/A N/A N/A N/A N/A change_info GetLocalRoot AndReturn proout N/A N/A N/A N/A gcl os chdir proout N/A N/A N/A N/A N/A change_info GetFileNames AndReturn files N/A N/A N/A gcl GenerateDiff files N/A N/A N/A N/A N/A N/A gcl upload RealMain N/A upload.py -y --server=my_server --foo=bar --message='' --issue=1 N/A change_info patch AndReturn N/A 1 2 N/A N/A N/A gcl SendToRietveld N/A /lint/issue%s_%s N/A 1 2 timeout 0.5 N/A N/A N/A N/A N/A gcl GetCodeReviewSetting TRY_ON_UPLOAD AndReturn True N/A N/A N/A gcl TryChange change_info N/A swallow_exception True N/A N/A N/A N/A gcl os chdir somewhere N/A N/A N/A change_info Save N/A N/A N/A N/A self mox ReplayAll N/A N/A N/A gcl UploadCL change_info args N/A testServerOverride N/A N/A self N/A N/A N/A change_info N/A N/A gcl ChangeInfo naame 0 0 deescription N/A N/A A aa N/A M bb N/A self fake_root_dir N/A N/A N/A N/A self mox StubOutWithMock change_info Save N/A args N/A --server=a --no_watchlists N/A N/A N/A change_info Save N/A N/A N/A N/A N/A gcl DoPresubmitChecks change_info False True AndReturn True N/A N/A N/A N/A N/A gcl GetCodeReviewSetting CODE_REVIEW_SERVER AndReturn my_server N/A N/A N/A N/A N/A N/A gcl tempfile mkstemp text True AndReturn N/A 42 descfile N/A N/A N/A N/A gcl os write 42 N/A change_info description N/A N/A N/A N/A gcl os close 42 N/A N/A N/A gcl GetCodeReviewSetting CC_LIST N/A N/A N/A N/A N/A N/A gcl os getcwd AndReturn somewhere N/A N/A N/A N/A gcl os chdir N/A N/A change_info GetLocalRoot N/A N/A N/A gcl GenerateDiff N/A N/A change_info GetFileNames N/A N/A N/A N/A N/A N/A gcl upload RealMain N/A upload.py -y --server=my_server --server=a --description_file=descfile --message=deescription N/A change_info patch AndReturn N/A 1 2 N/A N/A N/A N/A gcl os remove descfile N/A N/A N/A gcl SendToRietveld N/A /lint/issue%s_%s N/A 1 2 timeout 0.5 N/A N/A N/A N/A gcl os chdir somewhere N/A N/A N/A N/A self mox ReplayAll N/A N/A N/A gcl UploadCL change_info args N/A testNoTry N/A N/A self N/A N/A N/A change_info N/A N/A gcl ChangeInfo naame 0 0 deescription N/A N/A A aa N/A M bb N/A self fake_root_dir N/A N/A change_info Save N/A N/A N/A self mox CreateMockAnything N/A args N/A --no-try --no_watchlists N/A N/A N/A change_info Save N/A N/A N/A N/A N/A gcl DoPresubmitChecks change_info False True AndReturn True N/A N/A N/A N/A N/A gcl GetCodeReviewSetting CODE_REVIEW_SERVER AndReturn my_server N/A N/A N/A N/A N/A N/A gcl tempfile mkstemp text True AndReturn N/A 42 descfile N/A N/A N/A N/A gcl os write 42 N/A change_info description N/A N/A N/A N/A gcl os close 42 N/A N/A N/A gcl GetCodeReviewSetting CC_LIST N/A N/A N/A N/A N/A N/A gcl os getcwd AndReturn somewhere N/A N/A N/A N/A gcl os chdir N/A N/A change_info GetLocalRoot N/A N/A N/A gcl GenerateDiff N/A N/A change_info GetFileNames N/A N/A N/A N/A N/A N/A gcl upload RealMain N/A upload.py -y --server=my_server --description_file=descfile --message=deescription N/A change_info patch AndReturn N/A 1 2 N/A N/A N/A N/A gcl os remove descfile N/A N/A N/A gcl SendToRietveld N/A /lint/issue%s_%s N/A 1 2 timeout 0.5 N/A N/A N/A N/A gcl os chdir somewhere N/A N/A N/A N/A self mox ReplayAll N/A N/A N/A gcl UploadCL change_info args N/A testNormal N/A N/A self N/A N/A N/A change_info N/A N/A gcl ChangeInfo naame 0 0 deescription N/A N/A A aa N/A M bb N/A self fake_root_dir N/A N/A N/A N/A self mox StubOutWithMock change_info Save N/A args N/A --no_watchlists N/A N/A N/A change_info Save N/A N/A N/A N/A N/A gcl DoPresubmitChecks change_info False True AndReturn True N/A N/A N/A N/A N/A gcl GetCodeReviewSetting CODE_REVIEW_SERVER AndReturn my_server N/A N/A N/A N/A N/A N/A gcl tempfile mkstemp text True AndReturn N/A 42 descfile N/A N/A N/A N/A gcl os write 42 N/A change_info description N/A N/A N/A N/A gcl os close 42 N/A N/A N/A gcl GetCodeReviewSetting CC_LIST N/A N/A N/A N/A N/A N/A gcl os getcwd AndReturn somewhere N/A N/A N/A N/A gcl os chdir N/A N/A change_info GetLocalRoot N/A N/A N/A gcl GenerateDiff N/A N/A change_info GetFileNames N/A N/A N/A N/A N/A N/A gcl upload RealMain N/A upload.py -y --server=my_server --description_file=descfile --message=deescription N/A change_info patch AndReturn N/A 1 2 N/A N/A N/A N/A gcl os remove descfile N/A N/A N/A gcl SendToRietveld N/A /lint/issue%s_%s N/A 1 2 timeout 0.5 N/A N/A N/A N/A N/A gcl GetCodeReviewSetting TRY_ON_UPLOAD AndReturn True N/A N/A N/A gcl TryChange change_info N/A swallow_exception True N/A N/A N/A N/A gcl os chdir somewhere N/A N/A N/A N/A self mox ReplayAll N/A N/A N/A gcl UploadCL change_info args N/A N/A N/A self assertEquals N/A change_info issue 1 N/A N/A N/A self assertEquals N/A change_info patchset 2 N/A N/A N/A N/A __name__ __main__ N/A N/A unittest N/A N/A N/A unittest main