Skip to content

Commit

Permalink
Adjust tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
disko committed Feb 23, 2015
1 parent bd5dbc7 commit 3875ed8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ Change History
``kotti.util.command``, to allow log message output for kotti sessions
started via custom commands.

- Remove unused ``kotti.js``.

1.0.0 - 2015-01-20
------------------

Expand Down
6 changes: 3 additions & 3 deletions kotti/tests/test_static.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class TestStatic:
def test_NeededGroup(self):

from js.deform import deform_js
from kotti.fanstatic import kotti_js
from kotti.fanstatic import contents_view_js
from kotti.fanstatic import NeededGroup

def NeededGroupFactory(resources):
Expand All @@ -21,9 +21,9 @@ def NeededGroupFactory(resources):

assert needed.resources == [deform_js, ]

needed.add(kotti_js)
needed.add(contents_view_js)

assert needed.resources == [deform_js, kotti_js]
assert needed.resources == [deform_js, contents_view_js]

def needed_group_adder(resource):
needed.add(resource)
Expand Down

0 comments on commit 3875ed8

Please sign in to comment.