Skip to content

Commit

Permalink
Few minor changes to schema, test_schema and test_formats modules
Browse files Browse the repository at this point in the history
  • Loading branch information
akonst committed Feb 12, 2013
1 parent 8970df1 commit 5ab806f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tuf/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ def check_match(self, object):



# TODO [Kon]: Third sentence in Purpose description should probably be there.

class Integer(Schema):
"""
<Purpose>
Expand Down
2 changes: 1 addition & 1 deletion tuf/tests/test_formats.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@



class Test(unittest.TestCase):
class TestFormats(unittest.TestCase):
def setUp(self):
pass

Expand Down
1 change: 0 additions & 1 deletion tuf/tests/test_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@ def test_Boolean(self):
boolean_schema.matches(False))

# Test conditions for invalid arguments.
self.assertRaises(tuf.FormatError, boolean_schema.check_match, 11)
self.assertFalse(boolean_schema.matches(11))


Expand Down

0 comments on commit 5ab806f

Please sign in to comment.