Skip to content

Commit

Permalink
Start a test for #160
Browse files Browse the repository at this point in the history
This is incomplete. I got bogged down in #190.
  • Loading branch information
chadwhitacre committed May 20, 2013
1 parent cd9c0f6 commit da81630
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/test_website.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@ def test_autoindex_response_is_returned():
body = handle('/', '--list_directories=TrUe').body
assert 'README' in body, body

def test_issue160_autoindex_doesnt_have_double_slash():
mk('cheese')
body = handle('/', '--list_directories=TrUe').body
import pdb; pdb.set_trace()
assert 'README' in body, body

def test_resources_can_import_from_dot_aspen():
mk( '.aspen'
, ('.aspen/foo.py', 'bar = "baz"')
Expand Down

0 comments on commit da81630

Please sign in to comment.