<s> from __future__ import ( absolute_import , division , generators , nested_scopes , print_function , <EOL> unicode_literals , with_statement ) <EOL> from pants . backend . jvm . targets . credentials import LiteralCredentials <EOL> from pants_test . base_test import BaseTest <EOL> class CredentialsTest ( BaseTest ) : <EOL> def test_literal_declaration ( self ) : <EOL> username = '<STR_LIT>' <EOL> password = '<STR_LIT>' <EOL> t = self . make_target ( '<STR_LIT>' , LiteralCredentials , username = username , password = password ) <EOL> self . assertEquals ( t . username ( '<STR_LIT>' ) , username ) <EOL> self . assertEquals ( t . password ( '<STR_LIT>' ) , password ) </s>
