コード例 #1
0
 def _callFUT(self, arg):
     return datatypes.name_to_uid(arg)
コード例 #2
0
 def test_name_to_uid_gets_uid_from_user_id(self):
     uid = datatypes.name_to_uid("42")
     self.assertEquals(uid, 42)
コード例 #3
0
 def test_name_to_uid_gets_uid_from_user_id(self):
     uid = datatypes.name_to_uid("42")
     self.assertEqual(uid, 42)
コード例 #4
0
ファイル: test_datatypes.py プロジェクト: Girgitt/supervisor
 def _callFUT(self, arg):
     return datatypes.name_to_uid(arg)
コード例 #5
0
 def test_name_to_uid_gets_uid_from_username(self):
     uid = datatypes.name_to_uid("foo")
     self.assertEquals(uid, 42)
コード例 #6
0
ファイル: test_datatypes.py プロジェクト: sfriesel/supervisor
 def test_name_to_uid_gets_uid_from_username(self):
     uid = datatypes.name_to_uid("foo")
     self.assertEqual(uid, 42)