<s> from django . test import TestCase <EOL> from mturk . importer . management . commands . import_hitgroups import parse_time_alloted <EOL> class ImportHitGroupsTest ( TestCase ) : <EOL> def test_time_alloted_parsing ( self ) : <EOL> self . failUnlessEqual ( parse_time_alloted ( '<STR_LIT>' ) , <NUM_LIT> ) <EOL> self . failUnlessEqual ( parse_time_alloted ( '<STR_LIT>' ) , <NUM_LIT> ) <EOL> self . failUnlessEqual ( parse_time_alloted ( '<STR_LIT>' ) , <NUM_LIT:30> ) </s>
