

def test(self):
    self.write_build_file('\nfrom pybuilder.core import use_plugin\n\nuse_plugin("python.core")\n\nname = "integration-test"\ndefault_task = "publish"\n')
    reactor.create_directory('src/main/python/spam')
    self.write_file('src/main/python/spam/__init__.py', '')
    self.write_file('src/main/python/spam/eggs.py', '\ndef spam ():\n    pass\n')
    reactor = self.prepare_reactor()
    reactor.build()
    self.assert_directory_exists('target/dist/integration-test-1.0.dev0')
    self.assert_directory_exists('target/dist/integration-test-1.0.dev0/spam')
    self.assert_file_empty('target/dist/integration-test-1.0.dev0/spam/__init__.py')
    self.assert_file_content('target/dist/integration-test-1.0.dev0/spam/eggs.py', '\ndef spam ():\n    pass\n')

dataset/ETHPy150Open pybuilder/pybuilder/src/integrationtest/python/should_build_simple_python_project_tests.py Test.test/VarMisuse@17/71 `self`->`reactor`