dulwich.tests.test_porcelain module¶
Tests for dulwich.porcelain.
- class dulwich.tests.test_porcelain.ActiveBranchTests(methodName='runTest')¶
Bases:
PorcelainTestCase
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- test_simple()¶
- class dulwich.tests.test_porcelain.AddTests(methodName='runTest')¶
Bases:
PorcelainTestCase
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- test_add_default_paths()¶
- test_add_default_paths_subdir()¶
- test_add_file()¶
- test_add_file_absolute_path()¶
- test_add_file_clrf_conversion()¶
- test_add_ignored()¶
- test_add_not_in_repo()¶
- class dulwich.tests.test_porcelain.ArchiveTests(methodName='runTest')¶
Bases:
PorcelainTestCase
Tests for the archive command.
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- test_simple()¶
- class dulwich.tests.test_porcelain.BranchCreateTests(methodName='runTest')¶
Bases:
PorcelainTestCase
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- test_branch_exists()¶
- test_new_branch()¶
- class dulwich.tests.test_porcelain.BranchDeleteTests(methodName='runTest')¶
Bases:
PorcelainTestCase
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- test_simple()¶
- test_simple_unicode()¶
- class dulwich.tests.test_porcelain.BranchListTests(methodName='runTest')¶
Bases:
PorcelainTestCase
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- test_new_branch()¶
- test_standard()¶
- class dulwich.tests.test_porcelain.CheckIgnoreTests(methodName='runTest')¶
Bases:
PorcelainTestCase
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- test_check_added_abs()¶
- test_check_added_rel()¶
- test_check_ignored()¶
- class dulwich.tests.test_porcelain.CleanTests(methodName='runTest')¶
Bases:
PorcelainTestCase
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- assert_wd(expected_paths)¶
Assert paths of files and dirs in wd are same as expected_paths
- put_files(tracked, ignored, untracked, empty_dirs)¶
Put the described files in the wd
- test_from_root()¶
- test_from_subdir()¶
- class dulwich.tests.test_porcelain.CloneTests(methodName='runTest')¶
Bases:
PorcelainTestCase
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- test_bare_local_with_checkout()¶
- test_fetch_symref()¶
- test_no_checkout_with_bare()¶
- test_no_head_no_checkout()¶
- test_no_head_no_checkout_outstream_errstream_autofallback()¶
- test_simple_local()¶
- test_simple_local_with_checkout()¶
- test_source_broken()¶
- class dulwich.tests.test_porcelain.CommitSignTests(methodName='runTest')¶
Bases:
PorcelainGpgTestCase
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- test_default_key()¶
- test_non_default_key()¶
- class dulwich.tests.test_porcelain.CommitTests(methodName='runTest')¶
Bases:
PorcelainTestCase
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- test_custom_author()¶
- test_no_verify()¶
- test_timezone()¶
- test_unicode()¶
- class dulwich.tests.test_porcelain.CommitTreeTests(methodName='runTest')¶
Bases:
PorcelainTestCase
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- test_simple()¶
- class dulwich.tests.test_porcelain.DescribeTests(methodName='runTest')¶
Bases:
PorcelainTestCase
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- test_no_commits()¶
- test_single_commit()¶
- test_tag()¶
- test_tag_and_commit()¶
- test_tag_and_commit_full()¶
- class dulwich.tests.test_porcelain.DiffTreeTests(methodName='runTest')¶
Bases:
PorcelainTestCase
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- test_empty()¶
- class dulwich.tests.test_porcelain.FetchTests(methodName='runTest')¶
Bases:
PorcelainTestCase
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- assert_correct_remote_refs(local_refs, remote_refs, remote_name=b'origin')¶
Assert that known remote refs corresponds to actual remote refs.
- test_simple()¶
- test_with_remote_name()¶
- class dulwich.tests.test_porcelain.FindUniqueAbbrevTests(methodName='runTest')¶
Bases:
PorcelainTestCase
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- test_simple()¶
- class dulwich.tests.test_porcelain.FsckTests(methodName='runTest')¶
Bases:
PorcelainTestCase
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- test_git_dir()¶
- test_none()¶
- class dulwich.tests.test_porcelain.GetObjectByPathTests(methodName='runTest')¶
Bases:
PorcelainTestCase
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- test_encoding()¶
- test_missing()¶
- test_simple()¶
- class dulwich.tests.test_porcelain.InitTests(methodName='runTest')¶
Bases:
TestCase
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- test_bare()¶
- test_non_bare()¶
- class dulwich.tests.test_porcelain.LogTests(methodName='runTest')¶
Bases:
PorcelainTestCase
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- test_max_entries()¶
- test_simple()¶
- class dulwich.tests.test_porcelain.LsFilesTests(methodName='runTest')¶
Bases:
PorcelainTestCase
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- test_empty()¶
- test_simple()¶
- class dulwich.tests.test_porcelain.LsRemoteTests(methodName='runTest')¶
Bases:
PorcelainTestCase
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- test_empty()¶
- test_some()¶
- class dulwich.tests.test_porcelain.LsTreeTests(methodName='runTest')¶
Bases:
PorcelainTestCase
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- test_empty()¶
- test_recursive()¶
- test_simple()¶
- class dulwich.tests.test_porcelain.MailmapTests(methodName='runTest')¶
Bases:
PorcelainTestCase
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- test_mailmap_lookup()¶
- test_no_mailmap()¶
- class dulwich.tests.test_porcelain.PathToTreeTests(methodName='runTest')¶
Bases:
PorcelainTestCase
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- setUp()¶
Hook method for setting up the test fixture before exercising it.
- test_path_to_tree_path_base()¶
- test_path_to_tree_path_error()¶
- test_path_to_tree_path_rel()¶
- test_path_to_tree_path_syntax()¶
- class dulwich.tests.test_porcelain.PorcelainGpgTestCase(methodName='runTest')¶
Bases:
PorcelainTestCase
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- DEFAULT_KEY = '\n-----BEGIN PGP PRIVATE KEY BLOCK-----\n\nlQVYBGBjIyIBDADAwydvMPQqeEiK54FG1DHwT5sQejAaJOb+PsOhVa4fLcKsrO3F\ng5CxO+/9BHCXAr8xQAtp/gOhDN05fyK3MFyGlL9s+Cd8xf34S3R4rN/qbF0oZmaa\nFW0MuGnniq54HINs8KshadVn1Dhi/GYSJ588qNFRl/qxFTYAk+zaGsgX/QgFfy0f\ndjWXJLypZXu9D6DlyJ0cPSzUlfBkI2Ytx6grzIquRjY0FbkjK3l+iGsQ+ebRMdcP\nSqd5iTN9XuzIUVoBFAZBRjibKV3N2wxlnCbfLlzCyDp7rktzSThzjJ2pVDuLrMAx\n6/L9hIhwmFwdtY4FBFGvMR0b0Ugh3kCsRWr8sgj9I7dUoLHid6ObYhJFhnD3GzRc\nU+xX1uy3iTCqJDsG334aQIhC5Giuxln4SUZna2MNbq65ksh38N1aM/t3+Dc/TKVB\nrb5KWicRPCQ4DIQkHMDCSPyj+dvRLCPzIaPvHD7IrCfHYHOWuvvPGCpwjo0As3iP\nIecoMeguPLVaqgcAEQEAAQAL/i5/pQaUd4G7LDydpbixPS6r9UrfPrU/y5zvBP/p\nDCynPDutJ1oq539pZvXQ2VwEJJy7x0U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cyfemHWCTVFnEa2BJslGC08X\nrFcjRRcMEr9ct4551QFBHsv3O/Wp3/wqczYgE9itSnGT05w+4vLt4smG+dnEHjRJ\nbrMb2upTHa+kjktjdO96/BgSnKYqmNmPB/qB\n=ivA/\n-----END PGP PRIVATE KEY BLOCK-----\n '¶
- DEFAULT_KEY_ID = '8EB47C310E1F24AE383D832F7CDD800A52E65E26'¶
- NON_DEFAULT_KEY = '\n-----BEGIN PGP PRIVATE KEY BLOCK-----\n\nlQVYBGBjI0ABDADGWBRp+t02emfzUlhrc1psqIhhecFm6Em0Kv33cfDpnfoMF1tK\nYy/4eLYIR7FmpdbFPcDThFNHbXJzBi00L1mp0XQE2l50h/2bDAAgREdZ+NVo5a7/\nRSZjauNU1PxW6pnXMehEh1tyIQmV78jAukaakwaicrpIenMiFUN3fAKHnLuFffA6\nt0f3LqJvTDhUw/o2vPgw5e6UDQhA1C+KTv1KXVrhJNo88a3hZqCZ76z3drKR411Q\nzYgT4DUb8lfnbN+z2wfqT9oM5cegh2k86/mxAA3BYOeQrhmQo/7uhezcgbxtdGZr\nYlbuaNDTSBrn10ZoaxLPo2dJe2zWxgD6MpvsGU1w3tcRW508qo/+xoWp2/pDzmok\n+uhOh1NAj9zB05VWBz1r7oBgCOIKpkD/LD4VKq59etsZ/UnrYDwKdXWZp7uhshkU\nM7N35lUJcR76a852dlMdrgpmY18+BP7+o7M+5ElHTiqQbMuE1nHTg8RgVpdV+tUx\ndg6GWY/XHf5asm8AEQEAAQAL/A85epOp+GnymmEQfI3+5D178D//Lwu9n86vECB6\nxAHCqQtdjZnXpDp/1YUsL59P8nzgYRk7SoMskQDoQ/cB/XFuDOhEdMSgHaTVlnrj\nktCCq6rqGnUosyolbb64vIfVaSqd/5SnCStpAsnaBoBYrAu4ZmV4xfjDQWwn0q5s\nu+r56mD0SkjPgbwk/b3qTVagVmf2OFzUgWwm1e/X+bA1oPag1NV8VS4hZPXswT4f\nqhiyqUFOgP6vUBcqehkjkIDIl/54xII7/P5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4E14C0'¶
- import_default_key()¶
- import_non_default_key()¶
- setUp()¶
Hook method for setting up the test fixture before exercising it.
- class dulwich.tests.test_porcelain.PorcelainTestCase(methodName='runTest')¶
Bases:
TestCase
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- assertRecentTimestamp(ts)¶
- setUp()¶
Hook method for setting up the test fixture before exercising it.
- class dulwich.tests.test_porcelain.PullTests(methodName='runTest')¶
Bases:
PorcelainTestCase
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- setUp()¶
Hook method for setting up the test fixture before exercising it.
- test_diverged()¶
- test_no_refspec()¶
- test_no_remote_location()¶
- test_simple()¶
- class dulwich.tests.test_porcelain.PushTests(methodName='runTest')¶
Bases:
PorcelainTestCase
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- test_delete()¶
Basic test of porcelain push, removing a branch.
- test_diverged()¶
- test_local_missing()¶
Pushing a new branch.
- test_new()¶
Pushing a new branch.
- test_simple()¶
Basic test of porcelain push where self.repo is the remote. First clone the remote, commit a file to the clone, then push the changes back to the remote.
- class dulwich.tests.test_porcelain.ReceivePackTests(methodName='runTest')¶
Bases:
PorcelainTestCase
Tests for receive_pack.
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- test_receive_pack()¶
- class dulwich.tests.test_porcelain.RemoteAddTests(methodName='runTest')¶
Bases:
PorcelainTestCase
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- test_exists()¶
- test_new()¶
- class dulwich.tests.test_porcelain.RemoteRemoveTests(methodName='runTest')¶
Bases:
PorcelainTestCase
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- test_remove()¶
- class dulwich.tests.test_porcelain.RemoveTests(methodName='runTest')¶
Bases:
PorcelainTestCase
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- test_remove_file()¶
- test_remove_file_removed_on_disk()¶
- test_remove_file_staged()¶
- class dulwich.tests.test_porcelain.RepackTests(methodName='runTest')¶
Bases:
PorcelainTestCase
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- test_empty()¶
- test_simple()¶
- class dulwich.tests.test_porcelain.ResetFileTests(methodName='runTest')¶
Bases:
PorcelainTestCase
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- test_reset_modify_file_to_commit()¶
- test_reset_remove_file_to_commit()¶
- test_resetfile_with_dir()¶
- class dulwich.tests.test_porcelain.ResetTests(methodName='runTest')¶
Bases:
PorcelainTestCase
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- test_hard_commit()¶
- test_hard_head()¶
- class dulwich.tests.test_porcelain.RevListTests(methodName='runTest')¶
Bases:
PorcelainTestCase
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- test_simple()¶
- class dulwich.tests.test_porcelain.ServerTests(methodName='runTest')¶
Bases:
PorcelainTestCase
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- setUp()¶
Hook method for setting up the test fixture before exercising it.
- test_pull()¶
- test_push()¶
- class dulwich.tests.test_porcelain.ShowTests(methodName='runTest')¶
Bases:
PorcelainTestCase
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- test_blob()¶
- test_commit_no_parent()¶
- test_commit_with_change()¶
- test_nolist()¶
- test_simple()¶
- test_tag()¶
- class dulwich.tests.test_porcelain.StatusTests(methodName='runTest')¶
Bases:
PorcelainTestCase
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- test_empty()¶
- test_get_tree_changes_add()¶
Unit test for get_tree_changes add.
- test_get_tree_changes_delete()¶
Unit test for get_tree_changes delete.
- test_get_tree_changes_modify()¶
Unit test for get_tree_changes modify.
- test_get_untracked_paths()¶
- test_get_untracked_paths_invalid_untracked_files()¶
- test_get_untracked_paths_normal()¶
- test_get_untracked_paths_subdir()¶
- test_get_untracked_paths_subrepo()¶
- test_status_all()¶
- test_status_autocrlf_input()¶
- test_status_autocrlf_true()¶
- test_status_base()¶
Integration test for status functionality.
- test_status_crlf_mismatch()¶
- test_status_untracked_path()¶
- test_status_wrong_untracked_files_value()¶
- class dulwich.tests.test_porcelain.SubmoduleTests(methodName='runTest')¶
Bases:
PorcelainTestCase
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- test_add()¶
- test_empty()¶
- test_init()¶
- class dulwich.tests.test_porcelain.SymbolicRefTests(methodName='runTest')¶
Bases:
PorcelainTestCase
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- test_set_force_wrong_symbolic_ref()¶
- test_set_symbolic_ref()¶
- test_set_symbolic_ref_other_than_master()¶
- test_set_wrong_symbolic_ref()¶
- class dulwich.tests.test_porcelain.TagCreateSignTests(methodName='runTest')¶
Bases:
PorcelainGpgTestCase
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- test_default_key()¶
- test_non_default_key()¶
- class dulwich.tests.test_porcelain.TagCreateTests(methodName='runTest')¶
Bases:
PorcelainTestCase
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- test_annotated()¶
- test_unannotated()¶
- test_unannotated_unicode()¶
- class dulwich.tests.test_porcelain.TagDeleteTests(methodName='runTest')¶
Bases:
PorcelainTestCase
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- test_simple()¶
- class dulwich.tests.test_porcelain.TagListTests(methodName='runTest')¶
Bases:
PorcelainTestCase
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- test_empty()¶
- test_simple()¶
- class dulwich.tests.test_porcelain.TimezoneTests(methodName='runTest')¶
Bases:
PorcelainTestCase
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- fallback(value)¶
- put_envs(value)¶
- test_different_envs()¶
- test_internal_format()¶
- test_iso8601()¶
- test_missing_or_malformed()¶
- test_no_envs()¶
- test_rfc_2822()¶
- class dulwich.tests.test_porcelain.UpdateHeadTests(methodName='runTest')¶
Bases:
PorcelainTestCase
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- test_set_new_branch()¶
- test_set_to_branch()¶
- test_set_to_branch_detached()¶
- test_set_to_commit_detached()¶
- class dulwich.tests.test_porcelain.UpdateServerInfoTests(methodName='runTest')¶
Bases:
PorcelainTestCase
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- test_simple()¶
- class dulwich.tests.test_porcelain.UploadPackTests(methodName='runTest')¶
Bases:
PorcelainTestCase
Tests for upload_pack.
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- test_upload_pack()¶
- class dulwich.tests.test_porcelain.WriteTreeTests(methodName='runTest')¶
Bases:
PorcelainTestCase
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- test_simple()¶
- dulwich.tests.test_porcelain.flat_walk_dir(dir_to_walk)¶