Skip to content
This repository has been archived by the owner on Jul 24, 2018. It is now read-only.

Commit

Permalink
Add failing test for fedora-infra/fmn#40.
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphbean committed Jan 13, 2015
1 parent 1be4450 commit 6a04a1a
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions fmn/lib/tests/test_hinting.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
from nose.tools import eq_, assert_not_equals

import fmn.lib.tests


class TestDefaults(fmn.lib.tests.Base):
def test_hint_decoration(self):
rules = self.valid_paths['fmn.lib.tests.example_rules']
rule = rules['hint_masked_rule']
import pprint;
pprint.pprint(rule)
eq_(rule['title'], u'This is a docstring.')
eq_(len(rule['args']), 1)

0 comments on commit 6a04a1a

Please sign in to comment.