<s> from nose . tools import eq_ <EOL> import acmd <EOL> def test_default_values ( ) : <EOL> s = acmd . Server ( '<STR_LIT>' ) <EOL> assert s . name == '<STR_LIT>' <EOL> assert s . host == '<STR_LIT>' <EOL> assert s . username == '<STR_LIT>' <EOL> assert s . password == '<STR_LIT>' <EOL> def test_constructor ( ) : <EOL> s = acmd . Server ( '<STR_LIT>' , host = '<STR_LIT>' , <EOL> username = '<STR_LIT>' , password = '<STR_LIT>' ) <EOL> assert s . name == '<STR_LIT>' <EOL> assert s . host == '<STR_LIT>' <EOL> assert s . username == '<STR_LIT>' <EOL> assert s . password == '<STR_LIT>' <EOL> eq_ ( ( '<STR_LIT>' , '<STR_LIT>' ) , s . auth ) <EOL> def test_url ( ) : <EOL> s = acmd . Server ( '<STR_LIT>' ) <EOL> eq_ ( '<STR_LIT>' , s . url ( '<STR_LIT>' ) ) </s>
