| PostgresFixture. PostgreSQL Ŭ·¯½ºÅÍ¿Í µ¥ÀÌÅͺ£À̽º¸¦ ÀÛ¼ºÇϱâÀ§ÇÑ °íÁ¤±¸¸¦ »ç¿ëÇÏ¿© »ç¿ëÀ» À§ÇØ ´Ù½Ã Âõ¾îÁö°í ÀÖ½À´Ï´Ù ... |
Áö±Ý ´Ù¿î·Îµå |
PostgresFixture. ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- Other/Proprietary Li...
- °Ô½ÃÀÚ À̸§:
- Gavin Panella
PostgresFixture. ű×
PostgresFixture. ¼³¸í
PostgreSfixture´Â PostgreSQL Ŭ·¯½ºÅÍ¿Í µ¥ÀÌÅͺ£À̽º¸¦ ¸¸µé°í ´Ù½Ã Âõ¾î ¹ö¸®°í °³¹ß ¹× Å×½ºÆ® Áß¿¡ »ç¿ëÇϱâÀ§ÇÑ ÆÄÀ̽㠰íÁ¤ ÀåÄ¡ÀÔ´Ï´Ù. ÀÚ¼¼ÇÑ ³»¿ëÀº ·±Ä¡ Æеå ÇÁ·ÎÁ§Æ® ÆäÀÌÁö¸¦ ÂüÁ¶ÇϽʽÿÀ. ´Ù¸¥ Á¶¸í±â¿Í ¸¶Âù°¡Áö·Î ½ÃÀ۵˴ϴÙ. ContextLib °¡Á® ¿À±â PostGresFixture °¡Á® ¿À±â clusterFixTureF Test_Something (ÀÚü) : cluster = self.usefixture ( "db") cluster.connect ( "¿¹Á¦") connect. ... cluster.dropbdb ( "¿¹") ) # ¼±ÅÃÀû. ÀÌ°ÍÀº »õ Ŭ·¯½ºÅ͸¦ ¸¸µé°í "¿¹"¶ó´Â µ¥ÀÌÅͺ£À̽º¸¦ ¸¸µì´Ï´Ù. ±×·± ´ÙÀ½ ³¡¿¡ ¸ðµç °ÍÀ» Âõ¾î ¹ö¸± °ÍÀÔ´Ï´Ù. µð½ºÅ©¿¡ ¾Æ¹«°Íµµ ³²¾ÆÀÖÀ» °ÍÀÔ´Ï´Ù. Ŭ·¯½ºÅÍ¿Í ÇØ´ç µ¥ÀÌÅͺ£À̽º¸¦ µð½ºÅ©¿¡ ³²¾ÆÀÖ°ÔÇÏ·Á¸é Preserve = True clusterFixture constructor.from ¸í·É ÁÙ·Î ContryÀÌ ÆÐÅ°Áö°¡ ¼³Ä¡µÇ¾î ÀÖÀ¸¸é PostgresFixture ½ºÅ©¸³Æ®°¡ ÀÖ½À´Ï´Ù. ¶Ç´Â µ¿ÀÏÇÑ °ÍÀ» ¾òÀ¸·Á¸é Python -m PostgresFixture¸¦ »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù. -help¸¦ »ç¿ëÇÏ¿© ±ÍÇÏ°¡ »ç¿ëÇÒ ¼öÀÖ´Â ¿É¼ÇÀ» ¹ß°ßÇϽʽÿÀ. Á¦Ç°ÀÇ È¨ÆäÀÌÁö
PostgresFixture. °ü·Ã ¼ÒÇÁÆ®¿þ¾î