<s> from changes . testutils import APITestCase <EOL> class TestCaseDetailsTest ( APITestCase ) : <EOL> def test_simple ( self ) : <EOL> project = self . create_project ( ) <EOL> build = self . create_build ( project = project ) <EOL> job = self . create_job ( build = build ) <EOL> testcase = self . create_test ( job = job ) <EOL> path = '<STR_LIT>' . format ( <EOL> testcase . id . hex ) <EOL> resp = self . client . get ( path ) <EOL> assert resp . status_code == <NUM_LIT:200> <EOL> data = self . unserialize ( resp ) <EOL> assert data [ '<STR_LIT:id>' ] == testcase . id . hex </s>
