1 from unittest import TestCase
2 from bluechips.lib import permissions
4 class TestReorderingSettle(TestCase):
5 def test_authenticate(self):
6 assert permissions.authenticate({}, u'root', u'charliepass')
7 assert not permissions.authenticate({}, u'root', u'blah')
8 assert not permissions.authenticate({}, u'blah', u'charliepass')
9 assert not permissions.authenticate({}, u'blah', u'blah')