Did I find the right examples for you? yes no

All Samples(6)  |  Call(5)  |  Derive(0)  |  Import(1)

src/b/e/BerinQuest-HEAD/test/engine_test.py   BerinQuest(Download)
from game.network import ArgFactory, UserConnection
from obj_test import DummyWorld
from unittest import main, TestCase, assertEqual, assertRaises
 
from twisted.internet import reactor
    def test_argumentPassing(self):
        assertEqual(self.factoryOne.getWorld( ), self.wrld)
        assertEqual(self.factoryTwo.getWorld( ), self.wrld)
 
        assertEqual(self.factoryOne.getArg(0), 4)
        assertEqual(self.factoryOne.getArg(1), 12)

src/b/e/BerinQuest-HEAD/test/world_test.py   BerinQuest(Download)
 
        o = self.world.getByID(self, 14890141)
        unittest.assertEqual(o, None)
 
    def test_store(self):