§ w<ˆjãól—ddlZdZdadadadZdadadadZ d„Z d„Z d„Z d„Z Gd„de¦«Zd„ZdS) éNcó$—tj|i|¤ŽS)aÿ Deliver multiple versions of a test based on positional combinations. This is a facade over pytest.mark.parametrize. :param \*comb: argument combinations. These are tuples that will be passed positionally to the decorated function. :param argnames: optional list of argument names. These are the names of the arguments in the test function that correspond to the entries in each argument tuple. pytest.mark.parametrize requires this, however the combinations function will derive it automatically if not present by using ``inspect.getfullargspec(fn).args[1:]``. Note this assumes the first argument is "self" which is discarded. :param id\_: optional id template. This is a string template that describes how the "id" for each parameter set should be defined, if any. The number of characters in the template should match the number of entries in each argument tuple. Each character describes how the corresponding entry in the argument tuple should be handled, as far as whether or not it is included in the arguments passed to the function, as well as if it is included in the tokens used to create the id of the parameter set. If omitted, the argument combinations are passed to parametrize as is. If passed, each argument combination is turned into a pytest.param() object, mapping the elements of the argument tuple to produce an id based on a character value in the same position within the string template using the following scheme:: i - the given argument is a string that is part of the id only, don't pass it as an argument n - the given argument should be passed and it should be added to the id by calling the .__name__ attribute r - the given argument should be passed and it should be added to the id by calling repr() s - the given argument should be passed and it should be added to the id by calling str() a - (argument) the given argument should be passed and it should not be used to generated the id e.g.:: @testing.combinations( (operator.eq, "eq"), (operator.ne, "ne"), (operator.gt, "gt"), (operator.lt, "lt"), id_="na" ) def test_operator(self, opfunc, name): pass The above combination will call ``.__name__`` on the first member of each tuple and use that as the "id" to pytest.param(). )Ú_fixture_functionsÚ combinations)ÚcombÚkws úm/builddir/build/BUILD/cloudlinux-venv-1.0.12/venv/lib64/python3.11/site-packages/sqlalchemy/testing/config.pyrrs€õ~ Ô *¨DÐ 7°BÐ 7Ð 7Ð7óc ó—t|i|¤ŽS)z+As combination, but takes a single iterable)r)Ú arg_iterablers rÚcombinations_listr Xs€å ˜Ð ,¨Ð ,Ð ,Ð,r có$—tj|i|¤ŽS©N)rÚfixture)Úargrs rrr]s€Ý Ô % sÐ 1¨bÐ 1Ð 1Ð1r có4—t ¦«Sr)rÚget_current_test_name©r rrras€Ý × 3Ò 3Ñ 5Ô 5Ð5r cóì—eZdZd„Zej¦«Ze¦«Zd„Z e d„¦«Z e d„¦«Z e d„¦«Z e d„¦«Ze d„¦«Ze d„¦«Ze d „¦«Zd „Zd S) ÚConfigcó„—| |¦«||_||_||_||_d|_d|_dS)NÚ test_schemaÚ test_schema_2)Ú _set_nameÚdbÚdb_optsÚoptionsÚ file_configrr)Úselfrrrrs rÚ__init__zConfig.__init__fsG€Ø �Š�rÑÔÐØˆŒØˆŒ ؈Œ Ø&ˆÔØ(ˆÔØ,ˆÔÐÐr cóÔ—|jjrEd d„|jjD¦«¦«}|j›d|j›d|›d�|_dS|j›d|j›�|_dS)Nú.c3ó4K—|]}t|¦«V—ŒdSr)Ústr)Ú.0Útoks rú z#Config._set_name..ts(èè€ÐNÐN¨�3˜s™8œ8ÐNÐNÐNÐNÐNÐNr ú+z_[ú])ÚdialectÚserver_version_infoÚjoinÚnameÚdriver)rrÚsvis rrzConfig._set_namersp€Ø Œ:Ô )ð 7Ø—(’(ÐNÐN¨r¬zÔ/MÐNÑNÔNÑNÔNˆCØ(*¬¨¨°´°°¸C¸C¸CÐ@ˆDŒIˆIˆIà#%¤7 7 7¨B¬I¨IÐ6ˆDŒIˆIˆIr có^—t||||¦«}|j |¦«|S)z•add a config as one of the global configs. If there are no configs set up yet, this config also gets set as the "_current". )rÚ_configsÚadd)ÚclsrrrrÚcfgs rÚregisterzConfig.registerys2€õ�R˜ '¨;Ñ7Ô7ˆØ Œ ×Ò˜ÑÔÐØˆ r cóh—|a|jja|ja|ja|ja|jx|_adSr)Ú_currentrÚurlÚdb_urlrrr©r2ÚconfigÚ namespaces rÚset_as_currentzConfig.set_as_current„s;€ðˆØ””ˆØ”.ˆØÔ(ˆ ØÔ,ˆ Ø"œIÐ%ˆ Œ �r�r�rr có°—ts Jd¦«‚| t|tjtjtj¦«|¦«dS)Nz*Can't push without a default Config set up)r6Úpushrrrr)r2rr;s rÚ push_enginezConfig.push_engineŽsZ€åÐEÐEÐEÑEÔEˆxØ �ŠÝ Ø•HÔ$¥hÔ&6½Ô8Lñ ô ð ñ  ô ð ð ð r cóp—|j t¦«| ||¦«dSr)Ú_stackÚappendr6r<r9s rr>z Config.push˜s4€à Œ ×Ò�(Ñ#Ô#Ð#Ø ×Ò˜6 9Ñ-Ô-Ð-Ð-Ð-r cóŒ—|jr<| |jd|¦«|j ¦«dSdS)Nr)rAr<Úclear)r2r;s rÚresetz Config.reset�sL€à Œ:ð Ø × Ò ˜sœz¨!œ}¨iÑ 8Ô 8Ð 8Ø ŒJ× Ò Ñ Ô Ð Ð Ð ð ð r có—|jSr)r0)r2s rÚ all_configszConfig.all_configs£s €àŒ|Ðr c#óJK—| ¦«D] }|jV—Œ dSr)rGr)r2r3s rÚall_dbszConfig.all_dbs§s6èè€à—?’?Ñ$Ô$ð ð ˆCØ”&ˆLˆLˆLˆLð ð r có$—t|¦«dSr)Ú skip_test)rÚmsgs rrKzConfig.skip_test¬s€Ý�#‰Œˆˆˆr N)Ú__name__Ú __module__Ú __qualname__rÚ collectionsÚdequerAÚsetr0rÚ classmethodr4r<r?r>rErGrIrKrr rrres€€€€€ð-ð-ð-ðˆ[Ô Ñ Ô €F؈s‰uŒu€Hð7ð7ð7ðððñ„[ððð&ð&ñ„[ð&ðð ð ñ„[ð ðð.ð.ñ„[ð.ðððñ„[ðð ððñ„[ððððñ„[ððððððr rcó6—t |¦«‚r)rÚskip_test_exception)rLs rrKrK°s€Ý × 0Ò 0°Ñ 5Ô 5Ð5r )rPÚ requirementsrr8rrrrr6rrr rrÚobjectrrKrr rúrXsÊððÐÐÐà€ Ø €Ø €Ø €Ø€ Ø€ Ø€ Ø €àÐð?8ð?8ð?8ðD-ð-ð-ð 2ð2ð2ð6ð6ð6ðHðHðHðHðHˆVñHôHðHðV6ð6ð6ð6ð6r