docstr: Tests normal filsystem operations on the given directory and file.
  
  Args:
      fs: The filesystem to use when testing.
      directory: The directory containing the file.
      filename: The name of the file.
      kwargs: Passed to any write operations as additional arguments.
code: def _test_operations(
      self,
      fs: fsspec.AbstractFileSystem,
      directory: str,
      filename: str,
      **kwargs: Any,
  ) -> None:
      """Tests normal filsystem operations on the given directory and file.
  
      Args:
          fs: The filesystem to use when testing.
          directory: The directory containing the file.
          filename: The name of the file.
          kwargs: Passed to any write operations as additional arguments.
      """
      filepath = os.path.join(directory, filename)
  
      with fs.open(filepath, mode="w", **kwargs) as f:
          f.write("blob")
      self.assertTrue(fs.exists(filepath))
      self.assertTrue(fs.isfile(filepath))
  
file_path: tnt/tests/utils/test_fsspec.py
imports: import os
  import tempfile
  import unittest
  from typing import Any
  import fsspec
  from torchtnt.utils.fsspec import get_filesystem
label_desc: Use image node_id 1 for calling the FsTest obj's underlying member method code with example usage: obj._test_operations(fs, directory, filename) without return types