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

All Samples(3)  |  Call(2)  |  Derive(0)  |  Import(1)

src/p/y/Pyromancer-0.4/pyromancer/test/test_objects.py   Pyromancer(Download)
import re
 
from pyromancer.objects import User, Line, Match
from pyromancer.test.decorators import mock_connection
 
 
def test_user_with_nick():
    user_str = 'Abc09_-\\[]{}^`|!RealName@some.host'
    user = User(user_str)
def test_user_without_nick():
    user_str = 'some.host'
    user = User(user_str)
 
    assert user.host == 'some.host'