from aspen import restarter
from aspen.tests.fsfix import attach_teardown

class Foo:
    pass

def test_startup_basically_works():
    website = Foo()
    website.changes_kill = True
    website.dotaspen = 'bar'
    website.root = 'foo'
    restarter.startup(website)
    expected = []
    actual = restarter.extras
    assert actual == expected, actual


attach_teardown(globals())

from aspen.cli import restarter
from aspen.tests.fsfix import attach_teardown

class Foo:
    pass

def test_startup_basically_works():
    website = Foo()
    website.changes_kill = True
    website.dotaspen = 'bar'
    website.root = 'foo'
    restarter.install(website)
    expected = []
    actual = restarter.extras
    assert actual == expected, actual


attach_teardown(globals())

Fix up test for recent changes to restarter.
Fix up test for recent changes to restarter.
