PK APOCALYPSE V1

APOCALYPSE V1

Current Path : /opt/alt/alt-nodejs8/root/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/
Upload File :
Current File : //opt/alt/alt-nodejs8/root/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/common_test.pyc

�
��Rac@sydZddlZddlZddlZdejfd��YZdejfd��YZedkruej	�ndS(s"Unit tests for the common.py file.i����NtTestTopologicallySortedcBseZd�Zd�ZRS(csriddgd6gd6dgd6dgd6��fd�}|jtjj�j�|�ddddg�dS(sATest that sorting works on a valid graph with one possible order.tbtctatdcst�|�S(N(ttuple(tnode(tgraph(sm/opt/alt/alt-nodejs8/root/usr/lib/node_modules/npm/node_modules.bundled/node-gyp/gyp/pylib/gyp/common_test.pytGetEdgesN(tassertEqualtgyptcommontTopologicallySortedtkeys(tselfR((Rsm/opt/alt/alt-nodejs8/root/usr/lib/node_modules/npm/node_modules.bundled/node-gyp/gyp/pylib/gyp/common_test.pyt
test_Valids


csiidgd6dgd6dgd6dgd6��fd�}|jtjjtjj�j�|�dS(s3Test that an exception is thrown on a cyclic graph.RRRRcst�|�S(N(R(R(R(sm/opt/alt/alt-nodejs8/root/usr/lib/node_modules/npm/node_modules.bundled/node-gyp/gyp/pylib/gyp/common_test.pyR%sN(tassertRaisesR
Rt
CycleErrorRR
(RR((Rsm/opt/alt/alt-nodejs8/root/usr/lib/node_modules/npm/node_modules.bundled/node-gyp/gyp/pylib/gyp/common_test.pyt
test_Cycles



(t__name__t
__module__RR(((sm/opt/alt/alt-nodejs8/root/usr/lib/node_modules/npm/node_modules.bundled/node-gyp/gyp/pylib/gyp/common_test.pyRs	t
TestGetFlavorcBsAeZdZdZd�Zd�Zd�Zd�Zd�ZRS(s0Test that gyp.common.GetFlavor works as intendedtcCstj|_dS(N(tsystplatformtoriginal_platform(R((sm/opt/alt/alt-nodejs8/root/usr/lib/node_modules/npm/node_modules.bundled/node-gyp/gyp/pylib/gyp/common_test.pytsetUp0scCs|jt_dS(N(RRR(R((sm/opt/alt/alt-nodejs8/root/usr/lib/node_modules/npm/node_modules.bundled/node-gyp/gyp/pylib/gyp/common_test.pyttearDown3scCs)|t_|j|tjj|��dS(N(RRR	R
Rt	GetFlavor(Rtexpectedtargumenttparam((sm/opt/alt/alt-nodejs8/root/usr/lib/node_modules/npm/node_modules.bundled/node-gyp/gyp/pylib/gyp/common_test.pytassertFlavor6s	cCs�|jddi�|jddi�|jddi�|jddi�|jddi�|jd	d
i�|jd	di�dS(Ntfreebsdtfreebsd9t	freebsd10topenbsdtopenbsd5tsolaristsunos5tsunostlinuxtlinux2tlinux3(R (R((sm/opt/alt/alt-nodejs8/root/usr/lib/node_modules/npm/node_modules.bundled/node-gyp/gyp/pylib/gyp/common_test.pyttest_platform_default:scCs|jddidd6�dS(NtfoobarR*tflavor(R (R((sm/opt/alt/alt-nodejs8/root/usr/lib/node_modules/npm/node_modules.bundled/node-gyp/gyp/pylib/gyp/common_test.pyt
test_paramCs(	RRt__doc__RRRR R,R/(((sm/opt/alt/alt-nodejs8/root/usr/lib/node_modules/npm/node_modules.bundled/node-gyp/gyp/pylib/gyp/common_test.pyR,s					t__main__(
R0t
gyp.commonR
tunittestRtTestCaseRRRtmain(((sm/opt/alt/alt-nodejs8/root/usr/lib/node_modules/npm/node_modules.bundled/node-gyp/gyp/pylib/gyp/common_test.pyt<module>s

if you don't want to be vaporized in a nuclear explosion, i simply have to become nuclear myself… i am atomic