/usr/lib/python2.6/site-packages/pbr/tests
NameSizeModeActions
testpackage/-0755rm
base.py86830644editdlrm
base.pyc74670644editdlrm
test_commands.py29000644editdlrm
test_commands.pyc15750644editdlrm
test_core.py52690644editdlrm
test_core.pyc46520644editdlrm
test_files.py25790644editdlrm
test_files.pyc26320644editdlrm
test_hooks.py40390644editdlrm
test_hooks.pyc30440644editdlrm
test_integration.py48070644editdlrm
test_integration.pyc42400644editdlrm
test_packaging.py198810644editdlrm
test_packaging.pyc215390644editdlrm
test_setup.py172700644editdlrm
test_setup.pyc180610644editdlrm
test_util.py25310644editdlrm
test_util.pyc24740644editdlrm
test_version.py135990644editdlrm
test_version.pyc137430644editdlrm
test_wsgi.py60220644editdlrm
test_wsgi.pyc45060644editdlrm
util.py25600644editdlrm
util.pyc12990644editdlrm
__init__.py00644editdlrm
__init__.pyc1340644editdlrm
Edit: /usr/lib/python2.6/site-packages/pbr/tests/test_packaging.pyc (21539B)
Ñò ;vVc@s¦ddkZddkZddkZddkZddkZddkZddkZddkZddkZddk Z ddk l Z ddk l Z ddk lZddklZdeifd„ƒYZdeifd „ƒYZd eifd „ƒYZd eifd „ƒYZdeifd„ƒYZdeifd„ƒYZdeifd„ƒYZdeifd„ƒYZdeifd„ƒYZd„ZdS(iÿÿÿÿN(tmatchers(tgit(t packaging(tbasetTestRepocBs>eZdZd„Zd„Zdd„Zd„Zd„ZRS(säA git repo for testing with. Use of TempHomeDir with this fixture is strongly recommended as due to the lack of config --local in older gits, it will write to the users global configuration without TempHomeDir. cCs tt|ƒiƒ||_dS(N(tsuperRt__init__t_basedir(tselftbasedir((s5/tmp/pip-build-cD3xZi/pbr/pbr/tests/test_packaging.pyRCscCsYtt|ƒiƒtidddg|iƒtiƒtidddg|iƒdS(NRtinitt.tadd(RRtsetUpRt_run_cmdRt _config_git(R((s5/tmp/pip-build-cD3xZi/pbr/pbr/tests/test_packaging.pyR Gs s test commitcCs{tti|iƒƒ}|id|}t|dƒiƒtidd|g|iƒtiddd|g|iƒdS(Ns/%dtwtRR tcommits-m(tlentostlistdirRtopentcloseRR(Rtmessage_contenttfilestpath((s5/tmp/pip-build-cD3xZi/pbr/pbr/tests/test_packaging.pyRMs cCs#tiddddg|iƒdS(NRtresets--hardsHEAD^(RRR(R((s5/tmp/pip-build-cD3xZi/pbr/pbr/tests/test_packaging.pytuncommitTscCs&tidddd|g|iƒdS(NRttags-smstest tag(RRR(Rtversion((s5/tmp/pip-build-cD3xZi/pbr/pbr/tests/test_packaging.pyRWs(t__name__t __module__t__doc__RR RRR(((s5/tmp/pip-build-cD3xZi/pbr/pbr/tests/test_packaging.pyR;s     t GPGKeyFixturecBseZdZd„ZRS(sxCreates a GPG key for testing. It's recommended that this be used in concert with a unique home directory. c Cs®tt|ƒiƒ|itiƒƒ}tidƒ}ti ddg|i ƒ}x‰|di dƒD]]}|i |ƒ}|oAt |idƒƒt |idƒƒt |idƒƒf}PqfqfW|djo d}n|i d }t|d ƒ}zD|ddjo"|ddjo|id ƒn|id ƒWd|iƒX|ddjo d }n"|ddjo d}nd}ti ddd||g|i ƒdS(Ns#^gpg\s.*\s([\d+])\.([\d+])\.([\d+])tgpgs --versionis iiis /key-configRsO %no-protection %transient-key s %no-ask-passphrase Key-Type: RSA Name-Real: Example Key Name-Comment: N/A Name-Email: example@example.com Expire-Date: 2d Preferences: (setpref) %commit s--quick-randoms--debug-quick-randomts --gen-keys--batch(iii(RR!R t useFixturetfixturestTempDirtretcompileRRRtsplittmatchtinttgrouptNoneRtwriteR(Rttempdirtgnupg_version_ret gnupg_versiontlinet config_filetft gnupg_random((s5/tmp/pip-build-cD3xZi/pbr/pbr/tests/test_packaging.pyR cs>    "     (RRR R (((s5/tmp/pip-build-cD3xZi/pbr/pbr/tests/test_packaging.pyR!\st TestPackagingInGitRepoWithCommitcBs_eZdedeƒfdedeƒfgZd„Zd„Zd„Zd„Z d„Z RS(t preversionedt postversionedcCs9tt|ƒiƒ|it|iƒƒ}|iƒdS(N(RR6R R$Rt package_dirR(Rtrepo((s5/tmp/pip-build-cD3xZi/pbr/pbr/tests/test_packaging.pyR ›scCsq|iddtƒttii|idƒdƒiiƒ}z|~}|i ƒ}WdQX|i |dƒdS(Ntsdistt allow_failtAUTHORStrR#( t run_setuptFalseRRRtjoinR9t__exit__t __enter__treadtassertNotEqual(Rt_[1]R4tbody((s5/tmp/pip-build-cD3xZi/pbr/pbr/tests/test_packaging.pyt test_authors s8cCsq|iddtƒttii|idƒdƒiiƒ}z|~}|i ƒ}WdQX|i |dƒdS(NR;R<t ChangeLogR>R#( R?R@RRRRAR9RBRCRDRE(RRFR4RG((s5/tmp/pip-build-cD3xZi/pbr/pbr/tests/test_packaging.pyttest_changelog§s8cCsœ|iddtƒttii|idƒdƒiiƒ}z|~}|i ƒ}WdQX|i |t i t i dƒƒƒ|i |t i dƒƒdS(NR;R<s$pbr_testpackage.egg-info/SOURCES.txtR>spbr_testpackage/extra.pyspbr_testpackage/__init__.py(R?R@RRRRAR9RBRCRDt assertThatRtNottContains(RRFR4RG((s5/tmp/pip-build-cD3xZi/pbr/pbr/tests/test_packaging.pyttest_manifest_exclude_honoured®s &cCsH|idd|iddtƒ\}}}|i|tidƒƒdS(Ntinstalls--roott installedR<sGenerating ChangeLog(R?ttemp_dirR@t expectThatRRM(Rtstdoutt_((s5/tmp/pip-build-cD3xZi/pbr/pbr/tests/test_packaging.pyttest_install_writes_changelog¸s( RRtdicttTrueR@t scenariosR RHRJRNRU(((s5/tmp/pip-build-cD3xZi/pbr/pbr/tests/test_packaging.pyR6”s    t#TestPackagingInGitRepoWithoutCommitcBs#eZd„Zd„Zd„ZRS(cCs@tt|ƒiƒ|it|iƒƒ|iddtƒdS(NR;R<(RRYR R$RR9R?R@(R((s5/tmp/pip-build-cD3xZi/pbr/pbr/tests/test_packaging.pyR ÁscCs^ttii|idƒdƒiiƒ}z|~}|iƒ}WdQX|i|dƒdS(NR=R>s ( RRRRAR9RBRCRDt assertEqual(RRFR4RG((s5/tmp/pip-build-cD3xZi/pbr/pbr/tests/test_packaging.pyRHÆs8cCs^ttii|idƒdƒiiƒ}z|~}|iƒ}WdQX|i|dƒdS(NRIR>sCHANGES ======= ( RRRRAR9RBRCRDRZ(RRFR4RG((s5/tmp/pip-build-cD3xZi/pbr/pbr/tests/test_packaging.pyRJÌs8(RRR RHRJ(((s5/tmp/pip-build-cD3xZi/pbr/pbr/tests/test_packaging.pyRY¿s  tTestPackagingInPlainDirectorycBs,eZd„Zd„Zd„Zd„ZRS(cCstt|ƒiƒdS(N(RR[R (R((s5/tmp/pip-build-cD3xZi/pbr/pbr/tests/test_packaging.pyR ÕscCsH|iddtƒtii|idƒ}|itii|ƒƒdS(NR;R<R=(R?R@RRRAR9t assertFalsetexists(Rtfilename((s5/tmp/pip-build-cD3xZi/pbr/pbr/tests/test_packaging.pyRHØscCsH|iddtƒtii|idƒ}|itii|ƒƒdS(NR;R<RI(R?R@RRRAR9R\R](RR^((s5/tmp/pip-build-cD3xZi/pbr/pbr/tests/test_packaging.pyRJÞscCsQ|idd|iddtƒ\}}}|i|titidƒƒƒdS(NROs--rootRPR<sGenerating ChangeLog(R?RQR@RRRRLRM(RRSRT((s5/tmp/pip-build-cD3xZi/pbr/pbr/tests/test_packaging.pyttest_install_no_ChangeLogäs (RRR RHRJR_(((s5/tmp/pip-build-cD3xZi/pbr/pbr/tests/test_packaging.pyR[Ós   tTestPresenceOfGitcBseZd„Zd„ZRS(cCsUtiitdƒiiƒ}z,|~}d|_|itti ƒƒWdQXdS(Nt_run_shell_commandsgit version 1.8.4.1( tmocktpatchtobjectRRBRCt return_valueRZRWt_git_is_installed(RRFt_command((s5/tmp/pip-build-cD3xZi/pbr/pbr/tests/test_packaging.pyttestGitIsInstalledîs   cCsUtiitdƒiiƒ}z,|~}t|_|it ti ƒƒWdQXdS(NRa( RbRcRdRRBRCtOSErrort side_effectRZR@Rf(RRFRg((s5/tmp/pip-build-cD3xZi/pbr/pbr/tests/test_packaging.pyttestGitIsNotInstalledôs   (RRRhRk(((s5/tmp/pip-build-cD3xZi/pbr/pbr/tests/test_packaging.pyR`ìs tTestNestedRequirementscBseZd„ZRS(c CsÕtiƒ}tii|dƒ}tii|dƒ}t|dƒiiƒ}z|~}|id|ƒWdQXt|dƒiiƒ}z|~}|idƒWdQXt i |gƒ}|i |dgƒdS(Nsrequirements.txts nested.txttws-r tpbr( ttempfiletmkdtempRRRARRBRCR.Rtparse_requirementsRZ(RR/t requirementstnestedRFR4t_[2]tresult((s5/tmp/pip-build-cD3xZi/pbr/pbr/tests/test_packaging.pyttest_nested_requirementýs &&(RRRv(((s5/tmp/pip-build-cD3xZi/pbr/pbr/tests/test_packaging.pyRlûst TestVersionscBsÔeZdedeƒfdedeƒfgZd„Zd„Zd„Zd„Z d„Z d„Z d„Z d „Z d „Zd „Zd „Zd „Zd„Zd„Zd„Zd„Zd„Zd„ZRS(R7R8cCs[tt|ƒiƒ|it|iƒƒ|_|itƒƒ|iti |iƒƒdS(N( RRwR R$RR9R:R!RtDiveDir(R((s5/tmp/pip-build-cD3xZi/pbr/pbr/tests/test_packaging.pyR scCsV|iiƒ|iidƒ|iidƒtiƒ}|i|tidƒƒdS(Ns1.2.3sSem-Ver: api-breaks 2.0.0.dev1(R:RRRt_get_version_from_gitRKRt StartsWith(RR((s5/tmp/pip-build-cD3xZi/pbr/pbr/tests/test_packaging.pyttest_capitalized_headerss   cCsV|iiƒ|iidƒ|iidƒtiƒ}|i|tidƒƒdS(Ns1.2.3sSem-ver: api-breaks 2.0.0.dev1(R:RRRRyRKRRz(RR((s5/tmp/pip-build-cD3xZi/pbr/pbr/tests/test_packaging.pyt test_capitalized_headers_partials   cCs@|iiƒ|iidƒtidƒ}|id|ƒdS(Ns1.2.3(R:RRRRyRZ(RR((s5/tmp/pip-build-cD3xZi/pbr/pbr/tests/test_packaging.pyt#test_tagged_version_has_tag_version$s cCsS|iiƒ|iidƒ|iiƒtiƒ}|i|tidƒƒdS(Ns1.2.3s 1.2.4.dev1(R:RRRRyRKRRz(RR((s5/tmp/pip-build-cD3xZi/pbr/pbr/tests/test_packaging.pyt1test_untagged_version_has_dev_version_postversion*s    cCsS|iiƒ|iidƒ|iiƒtiƒ}|i|tidƒƒdS(Ns 1.2.3.0a1s1.2.3.0a2.dev1(R:RRRRyRKRRz(RR((s5/tmp/pip-build-cD3xZi/pbr/pbr/tests/test_packaging.pyt9test_untagged_pre_release_has_pre_dev_version_postversion1s    cCsV|iiƒ|iidƒ|iidƒtiƒ}|i|tidƒƒdS(Ns1.2.3ssem-ver: deprecations 1.3.0.dev1(R:RRRRyRKRRz(RR((s5/tmp/pip-build-cD3xZi/pbr/pbr/tests/test_packaging.pyt test_untagged_version_minor_bump8s   cCsV|iiƒ|iidƒ|iidƒtiƒ}|i|tidƒƒdS(Ns1.2.3ssem-ver: api-breaks 2.0.0.dev1(R:RRRRyRKRRz(RR((s5/tmp/pip-build-cD3xZi/pbr/pbr/tests/test_packaging.pyt test_untagged_version_major_bump?s   cCsV|iiƒ|iidƒ|iiƒtidƒ}|i|tidƒƒdS(Ns1.2.3s1.2.5s 1.2.5.dev1(R:RRRRyRKRRz(RR((s5/tmp/pip-build-cD3xZi/pbr/pbr/tests/test_packaging.pyt0test_untagged_version_has_dev_version_preversionFs   cCsV|iiƒ|iidƒ|iiƒtidƒ}|i|tidƒƒdS(Ns 1.2.3.0a1s1.2.5s 1.2.5.dev1(R:RRRRyRKRRz(RR((s5/tmp/pip-build-cD3xZi/pbr/pbr/tests/test_packaging.pyt:test_untagged_version_after_pre_has_dev_version_preversionMs   cCsV|iiƒ|iidƒ|iiƒtidƒ}|i|tidƒƒdS(Ns 1.2.3.0a1s1.2.3s1.2.3.0a2.dev1(R:RRRRyRKRRz(RR((s5/tmp/pip-build-cD3xZi/pbr/pbr/tests/test_packaging.pyt9test_untagged_version_after_rc_has_dev_version_preversionTs   cCsf|iiƒ|iidƒ|iiƒ|ittidƒ}|i|idt i dƒƒdS(Ns1.2.3is git history( R:RRt assertRaisest ValueErrorRRyRKtargsRRz(Rterr((s5/tmp/pip-build-cD3xZi/pbr/pbr/tests/test_packaging.pyttest_preversion_too_low_simple[s   cCsi|iiƒ|iidƒ|iidƒ|ittidƒ}|i|idt i dƒƒdS(Ns1.2.3ssem-ver: features1.2.4is git history( R:RRR…R†RRyRKR‡RRz(RRˆ((s5/tmp/pip-build-cD3xZi/pbr/pbr/tests/test_packaging.pyt&test_preversion_too_low_semver_headersgs  csYˆiid‰‡fd†‰‡‡fd†}|dƒˆiidƒ|dƒdS(Ns/.gitcstiˆ|ƒS((Rt_get_increment_kwargs(R(tgit_dir(s5/tmp/pip-build-cD3xZi/pbr/pbr/tests/test_packaging.pytvscs/ˆiiƒˆitƒˆ|ƒƒˆiidƒˆitƒˆ|ƒƒˆiidƒˆitdtƒˆ|ƒƒˆiiƒˆiidƒˆitdtƒˆ|ƒƒˆiiƒˆiidƒˆitdtƒˆ|ƒƒˆiidƒˆitdtdtƒˆ|ƒƒdS(Nssem-ver: bugfixssem-ver: featuretminorssem-ver: deprecationssem-ver: api-breaktmajor(R:RRZRVRWR(R(t get_kwargsR(s5/tmp/pip-build-cD3xZi/pbr/pbr/tests/test_packaging.pyt_check_combinationsxs   R#s1.2.3(R:RR(RR‘((RRRŒs5/tmp/pip-build-cD3xZi/pbr/pbr/tests/test_packaging.pyttest_get_kwargs_corner_casesss  cCs|iiƒ|iidƒ|iiƒ|iidƒtiƒ}|i|tidƒƒ|iiƒtiƒ}|i|tidƒƒ|iiƒ|iidƒ|iiƒ|iidƒtiƒ}|i|tidƒƒ|iiƒ|iidƒ|iiƒ|iid ƒtiƒ}|i|tid ƒƒ|iiƒ|iid ƒ|iiƒ|iid ƒtiƒ}|i|tid ƒƒ|iiƒ|iidƒ|iiƒ|iidƒtiƒ}|i|tidƒƒdS(Nt1tbadvers 1.0.1.dev1s 1.0.1.dev2s1.2tbadver2s 1.2.1.dev1s1.2.3tbadver3s 1.2.4.dev1s 1.2.4.0a1tbadver4s1.2.4.0a2.dev1t2snon-release-tag/2014.12.16-1s 2.0.1.dev1(R:RRRRyRKRRz(RR((s5/tmp/pip-build-cD3xZi/pbr/pbr/tests/test_packaging.pyttest_invalid_tag_ignored‹sB                 cCs=|iiƒ|iidƒtiƒ}|id|ƒdS(Ns 1.3.0.0a1(R:RRRRyRZ(RR((s5/tmp/pip-build-cD3xZi/pbr/pbr/tests/test_packaging.pyttest_valid_tag_honoured¶s  cCsM|iiƒ|iidƒdtid=0.1.4 # BSD License (3 clause) Routes>=1.12.3,!=2.0,!=2.1;python_version=='2.7' requests-kerberos>=0.6;python_version=='2.7' # MIT s setup.cfgs [metadata] name = test_reqparse [extras] test = foo baz>3.2 :python_version=='2.7' # MIT bar>3.3 :python_version=='2.7' # MIT # Apache tbarsrequests-aws>=0.1.4squux<1.0s:(python_version=='2.6')sRoutes>=1.12.3,!=2.0,!=2.1srequests-kerberos>=0.6s:(python_version=='2.7')tfoottestsbaz>3.2sbar>3.3stest:(python_version=='2.7')ssetup.pysÒ #!/usr/bin/env python import setuptools setuptools.setup( setup_requires=['pbr'], pbr=True, ) tegg_infoR<tcwdstest_reqparse.egg-infos requires.txttrt(R$R%R&RRRARRBRCR.ttextwraptdedenttsixtuR-Rtsyst executableR@RVt pkg_resourcestsplit_sectionsRZ(RR/RrRFR4t setup_cfgRttexpected_requirementstsetup_pyt_[3]R¤t requires_txtt_[4]trequirestgenerated_requirements((s5/tmp/pip-build-cD3xZi/pbr/pbr/tests/test_packaging.pyttest_requirement_parsingÎs8&&     & &(RRR·(((s5/tmp/pip-build-cD3xZi/pbr/pbr/tests/test_packaging.pyR ÌscCsti|||ƒS(N(t testscenariostload_tests_apply_scenarios(tloadertin_teststpattern((s5/tmp/pip-build-cD3xZi/pbr/pbr/tests/test_packaging.pyt load_testss(RR'R«RoR§R%RbR­R©R¸t testtoolsRRnRRt pbr.testsRtFixtureRR!t BaseTestCaseR6RYR[R`RlRwR R½(((s5/tmp/pip-build-cD3xZi/pbr/pbr/tests/test_packaging.pyt)s.          !8+Ã;