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

All Samples(22)  |  Call(17)  |  Derive(0)  |  Import(5)

        def reset():
    rl.testing.reset()
        


src/k/m/kmd-2.2/kmd/tests/test_quoting.py   kmd(Download)
from kmd import Kmd
from kmd.testing import JailSetup
from kmd.testing import reset
 
from kmd.completions.quoting import backslash_dequote
    def setUp(self):
        reset()
        self.cmd = Kmd()
        self.cmd.preloop()
 
    def setUp(self):
        reset()
        self.cmd = Kmd()
        self.cmd.preloop()
 
    def setUp(self):
        reset()
        self.cmd = Kmd()
        self.cmd.preloop()
 
    def setUp(self):
        reset()
        completer.quote_characters = '"\''
 
    def test_true(self):

src/k/m/kmd-2.2/kmd/tests/test_completeusers.py   kmd(Download)
 
from kmd import Kmd
from kmd.testing import reset
 
from kmd.completions.username import UsernameCompletion
    def setUp(self):
        reset()
        self.cmd = TestKmd()
        self.cmd.preloop()
 

src/k/m/kmd-2.2/kmd/tests/test_completehosts.py   kmd(Download)
from kmd import Kmd
from kmd.testing import JailSetup
from kmd.testing import reset
 
from kmd.completions.hostname import HostnameCompletion
    def setUp(self):
        JailSetup.setUp(self)
        reset()
        self.mkhosts(HOSTSFILE)
        self.cmd = TestKmd(hostsfile=join(self.tempdir, 'hosts'))

src/k/m/kmd-2.2/kmd/tests/test_completefiles.py   kmd(Download)
from kmd import Kmd
from kmd.testing import JailSetup
from kmd.testing import reset
 
from kmd.completions.filename import FilenameCompletion
    def setUp(self):
        reset()
 
    def test_double_quote(self):
        self.cmd = TestKmd(quote_char='"')
    def setUp(self):
        JailSetup.setUp(self)
        reset()
        self.cmd = TestKmd(quote_char='"')
        self.cmd.preloop()
    def setUp(self):
        reset()
        self.cmd = TestKmd(quote_char='"')
        self.cmd.preloop()
        self.is_quoted = self.cmd.completefilename.char_is_quoted
    def setUp(self):
        JailSetup.setUp(self)
        reset()
        self.cmd = TestKmd(quote_char='\\')
        self.cmd.preloop()

src/k/m/kmd-2.2/kmd/tests/test_completeenv.py   kmd(Download)
 
from kmd import Kmd
from kmd.testing import reset
 
from kmd.completions.environment import EnvironmentCompletion
    def setUp(self):
        reset()
        self.cmd = TestKmd()
        self.cmd.preloop()