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

All Samples(12)  |  Call(12)  |  Derive(0)  |  Import(0)

src/c/h/chirc-HEAD/tests/test_modes.py   chirc(Download)
    def test_user_mode1(self):
        client1 = self._connect_user("user1", "User One")
 
        self._user_mode(client1, "user1", "user1", "+o", expect_relay=False)
 
    @score(category="MODES")
    def test_user_mode2(self):
        client1 = self._connect_user("user1", "User One")
 
        self._user_mode(client1, "user1", "user1", "-o")
    def test_user_mode3(self):
        client1 = self._connect_user("user1", "User One")
 
        self._user_mode(client1, "user1", "user1", "+a", expect_relay=False)
 
    @score(category="MODES")
    def test_user_mode4(self):
        client1 = self._connect_user("user1", "User One")
 
        self._user_mode(client1, "user1", "user1", "-a", expect_relay=False)
    def test_user_mode5(self):
        client1 = self._connect_user("user1", "User One")
 
        self._user_mode(client1, "user1", "user1", "+v", expect_wrong_mode=True)