Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(162)  |  Call(162)  |  Derive(0)  |  Import(0)
Check that the expression is true.

src/s/k/skeleton-0.6/skeleton/tests/test_examples.py   skeleton(Download)
 
            self.assertEqual(skel['third_clause'], '')
            self.assertTrue(tmp.exists('LICENSE'))
 
    def test_write_3clause(self):
                BSD_THIRD_CLAUSE.format(organization='Foo inc')
                )
            self.assertTrue(tmp.exists('LICENSE'))
 
 
            skel.write(tmp.path)
 
            self.assertTrue(tmp.exists('LICENSE'))
            self.assertTrue(tmp.exists('COPYING'))
 
            skel.write(tmp.path)
 
            self.assertTrue(tmp.exists('LICENSE'))
            self.assertTrue(tmp.exists('COPYING'))
            self.assertTrue(tmp.exists('COPYING.LESSER'))

src/s/k/skeleton-HEAD/skeleton/tests/test_examples.py   skeleton(Download)
 
            self.assertEqual(skel['third_clause'], '')
            self.assertTrue(tmp.exists('LICENSE'))
 
    def test_write_3clause(self):
                BSD_THIRD_CLAUSE.format(organization='Foo inc')
                )
            self.assertTrue(tmp.exists('LICENSE'))
 
 
            skel.write(tmp.path)
 
            self.assertTrue(tmp.exists('LICENSE'))
            self.assertTrue(tmp.exists('COPYING'))
 
            skel.write(tmp.path)
 
            self.assertTrue(tmp.exists('LICENSE'))
            self.assertTrue(tmp.exists('COPYING'))
            self.assertTrue(tmp.exists('COPYING.LESSER'))

src/s/k/skeleton_stu-0.6.3/skeleton/tests/test_examples.py   skeleton_stu(Download)
 
            self.assertEqual(skel['third_clause'], '')
            self.assertTrue(tmp.exists('LICENSE'))
 
    def test_write_3clause(self):
                BSD_THIRD_CLAUSE.format(organization='Foo inc')
                )
            self.assertTrue(tmp.exists('LICENSE'))
 
 
            skel.write(tmp.path)
 
            self.assertTrue(tmp.exists('LICENSE'))
            self.assertTrue(tmp.exists('COPYING'))
 
            skel.write(tmp.path)
 
            self.assertTrue(tmp.exists('LICENSE'))
            self.assertTrue(tmp.exists('COPYING'))
            self.assertTrue(tmp.exists('COPYING.LESSER'))

src/s/k/skeleton-0.6/skeleton/tests/test_core.py   skeleton(Download)
        del skel['baz']
 
        self.assertTrue('foo' in skel)
        self.assertTrue('bar' in skel)
        self.assertFalse('baz' in skel)
        skel = WithDefault(foo=1)
 
        self.assertTrue('foo' in skel)
        self.assertTrue('bar' in skel)
        self.assertFalse('baz' in skel)
 
        self.assertEqual(len(skel.required_skeletons_instances), 1)
        self.assertTrue(isinstance(required_skel, WithDefault))
 
        self.assertEqual(skel['foo'], 1)

src/s/k/skeleton_stu-0.6.3/skeleton/tests/test_core.py   skeleton_stu(Download)
        del skel['baz']
 
        self.assertTrue('foo' in skel)
        self.assertTrue('bar' in skel)
        self.assertFalse('baz' in skel)
        skel = WithDefault(foo=1)
 
        self.assertTrue('foo' in skel)
        self.assertTrue('bar' in skel)
        self.assertFalse('baz' in skel)
 
        self.assertEqual(len(skel.required_skeletons_instances), 1)
        self.assertTrue(isinstance(required_skel, WithDefault))
 
        self.assertEqual(skel['foo'], 1)

src/s/k/skeleton-HEAD/skeleton/tests/test_core.py   skeleton(Download)
        del skel['baz']
 
        self.assertTrue('foo' in skel)
        self.assertTrue('bar' in skel)
        self.assertFalse('baz' in skel)
        skel = WithDefault(foo=1)
 
        self.assertTrue('foo' in skel)
        self.assertTrue('bar' in skel)
        self.assertFalse('baz' in skel)
 
        self.assertEqual(len(skel.required_skeletons_instances), 1)
        self.assertTrue(isinstance(required_skel, WithDefault))
 
        self.assertEqual(skel['foo'], 1)