How do I block a user/cancel a user account in Simpletest?
Once you've got the user object back from drupalCreateUser() you can use standard API methods to make changes (in this case user_save()):

user_save($user, array('status' =&gt; 0));