Module Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Num ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad keyword Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call NameLoad AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Str decorator_list decorator_list FunctionDef arguments args defaults body Return Call AttributeLoad NameLoad attr NameLoad decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr keyword Str
N/A N/A os N/A shutil N/A tempfile N/A unittest trac.test EnvironmentStub trac.upgrades db39 trac.versioncontrol.api RepositoryManager trac.versioncontrol.svn_authz AuthzSourcePolicy N/A VERSION 39 UpgradeTestCase N/A N/A unittest TestCase N/A N/A Move/rename the following options:
    [trac] authz_file -> [svn] authz_file
    [trac] authz_module_name -> [svn] authz_module_name
    [trac] repository_type -> [versioncontrol] default_repository_type
     setUp N/A N/A self N/A N/A N/A N/A self env N/A EnvironmentStub path N/A N/A tempfile mkdtemp N/A N/A N/A N/A self env config filename N/A N/A N/A os path join N/A N/A self env path trac.ini N/A N/A AuthzSourcePolicy N/A self env N/A N/A RepositoryManager N/A self env N/A tearDown N/A N/A self N/A N/A N/A N/A N/A shutil rmtree N/A N/A self env path N/A test_saves_backup N/A N/A self N/A N/A N/A Backup file is saved during upgrade. N/A config N/A N/A self env config N/A N/A N/A db39 do_upgrade N/A self env VERSION None N/A N/A N/A self assertTrue N/A N/A N/A os path exists N/A N/A config filename .db39.bak N/A test_old_options_not_in_registry N/A N/A self N/A N/A N/A Old options are not contained in the option registry. N/A config N/A N/A self env config N/A N/A N/A self assertFalse N/A N/A config has_option trac authz_file N/A N/A N/A self assertFalse N/A N/A config has_option trac authz_module_name N/A N/A N/A self assertFalse N/A N/A config has_option trac repository_type N/A test_new_options_in_registry N/A N/A self N/A N/A N/A New options are contained in the option registry. N/A config N/A N/A self env config N/A N/A N/A self assertTrue N/A N/A config has_option svn authz_file N/A N/A N/A self assertTrue N/A N/A config has_option svn authz_module_name N/A N/A N/A self assertTrue N/A N/A config has_option versioncontrol default_repository_type N/A test_tracini_values_moved N/A N/A self N/A N/A N/A Values are moved in trac.ini file. N/A config N/A N/A self env config N/A N/A N/A config set trac authz_file authz.ini N/A N/A N/A config set trac authz_module_name amodule N/A N/A N/A config set trac repository_type git N/A N/A N/A config save N/A N/A N/A db39 do_upgrade N/A self env VERSION None N/A N/A N/A self assertFalse N/A N/A config has_option trac authz_file N/A N/A N/A self assertFalse N/A N/A config has_option trac authz_module_name N/A N/A N/A self assertFalse N/A N/A config has_option trac repository_type N/A N/A N/A self assertEqual authz.ini N/A N/A config get svn authz_file N/A N/A N/A self assertEqual amodule N/A N/A config get svn authz_module_name N/A N/A N/A self assertEqual git N/A N/A config get versioncontrol default_repository_type N/A test_default_values_written_to_tracini N/A N/A self N/A N/A N/A Default values are written to trac.ini file. N/A config N/A N/A self env config N/A N/A N/A db39 do_upgrade N/A self env VERSION None N/A N/A N/A self assertFalse N/A N/A config has_option trac authz_file N/A N/A N/A self assertFalse N/A N/A config has_option trac authz_module_name N/A N/A N/A self assertFalse N/A N/A config has_option trac repository_type N/A N/A N/A self assertEqual N/A N/A config get svn authz_file N/A N/A N/A self assertEqual N/A N/A config get svn authz_module_name N/A N/A N/A self assertEqual svn N/A N/A config get versioncontrol default_repository_type N/A N/A suite N/A N/A N/A N/A N/A N/A N/A unittest makeSuite UpgradeTestCase N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main defaultTest suite