Skip to content

Commit

Permalink
[#1739] fix errors due to tests not being run
Browse files Browse the repository at this point in the history
  • Loading branch information
kindly committed Jan 31, 2012
1 parent eb52431 commit 117dce4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ckan/templates/package/new_package_form.html
Expand Up @@ -197,7 +197,7 @@ <h3>Tags</h3>
<dd>
<p>Do you really want to change the state of this dataset? &nbsp;&nbsp;<button class="dataset-delete pretty-button">Yes!</button></p>
This dataset is&nbsp;&nbsp;
<select class="dataset-delete" id="state" name="state" style="display:inline;">
<select id="state" class="dataset-delete" name="state" style="display:inline;">
<option py:attrs="{'selected': 'selected' if data.get('state') == 'active' else None}" value="active">active</option>
<option py:attrs="{'selected': 'selected' if data.get('state') == 'deleted' else None}" value="deleted">deleted</option>
</select>
Expand Down
2 changes: 1 addition & 1 deletion ckan/tests/functional/test_user.py
Expand Up @@ -70,7 +70,7 @@ def test_user_read_me_without_id(self):

def test_user_read_without_id_but_logged_in(self):
user = model.User.by_name(u'annafan')
offset = '/user/'
offset = '/user/annafan'
res = self.app.get(offset, status=200, extra_environ={'REMOTE_USER': str(user.name)})
main_res = self.main_div(res)
assert 'annafan' in main_res, main_res
Expand Down

0 comments on commit 117dce4

Please sign in to comment.