<s> from __future__ import ( absolute_import , division , generators , nested_scopes , print_function , <EOL> unicode_literals , with_statement ) <EOL> from pants . backend . jvm . targets . java_library import JavaLibrary <EOL> from pants . backend . jvm . targets . java_tests import JavaTests <EOL> from pants . build_graph . build_file_aliases import BuildFileAliases <EOL> from pants . source . source_root import SourceRootConfig <EOL> from pants_test . base_test import BaseTest <EOL> from pants_test . subsystem . subsystem_util import subsystem_instance <EOL> class MavenLayoutTest ( BaseTest ) : <EOL> @ property <EOL> def alias_groups ( self ) : <EOL> return BuildFileAliases ( <EOL> targets = { <EOL> '<STR_LIT>' : JavaLibrary , <EOL> '<STR_LIT>' : JavaTests , <EOL> } , <EOL> ) <EOL> def setUp ( self ) : <EOL> super ( MavenLayoutTest , self ) . setUp ( ) <EOL> self . add_to_build_file ( '<STR_LIT>' , <EOL> '<STR_LIT>' ) <EOL> self . add_to_build_file ( '<STR_LIT>' , <EOL> '<STR_LIT>' ) <EOL> def test_layout_here ( self ) : <EOL> with subsystem_instance ( SourceRootConfig ) : <EOL> self . assertEqual ( '<STR_LIT>' , <EOL> self . target ( '<STR_LIT>' ) . target_base ) <EOL> def test_subproject_layout ( self ) : <EOL> with subsystem_instance ( SourceRootConfig ) : <EOL> self . assertEqual ( '<STR_LIT>' , <EOL> self . target ( '<STR_LIT>' ) . target_base ) </s>
