<s> import StringIO <EOL> from django . core . management import call_command <EOL> from django . test import TestCase <EOL> class CommandsTestCase ( TestCase ) : <EOL> def test_no_missing_migrations ( self ) : <EOL> result = StringIO . StringIO ( ) <EOL> call_command ( '<STR_LIT>' , dry_run = True , stdout = result ) <EOL> result_string = result . getvalue ( ) <EOL> self . assertEqual ( result_string , '<STR_LIT>' ) </s>
