class_docstr: Tests that Twitter credentials from a file are handled correctly.
docstr: Test that a proper file succeeds and is read correctly
code: def test_correct_file(self, auth):
      """Test that a proper file succeeds and is read correctly"""
      oauth = auth.load_creds(subdir=self.subdir)
  
      assert auth.creds_fullpath == os.path.join(
          self.subdir, auth.creds_file
      )
      assert auth.creds_file == "credentials.txt"
      assert oauth["app_key"] == "a"
  
file_path: nltk/nltk/test/unit/test_twitter_auth.py
imports: import os
  import pytest
  from nltk.twitter import Authenticate
label_desc: Use image node_id 4 for calling the TestCredentials obj's underlying member method code with example usage: obj.test_correct_file(auth) without return types