475
475
# The Go version of juju install an agent.conf file in the directory
476
476
# above the charm. If that file exists then we must be running against
478
484
agent_file_path = "%s/../agent.conf" % os.getcwd()
479
485
with open(agent_file_path, 'w') as agent_file:
481
488
self.assertEqual(False, charmhelpers.legacy_juju())
482
489
os.remove(agent_file_path)
483
490
self.assertEqual(False, os.path.exists(agent_file_path))