code: def test_upload_dependency_file(self, environment):
      filename = fake.file_name(extension="txt")
      with open(filename, "w") as file:
          file.write("some-dependency==1.0.0")
  
      with neptune.init_run(
          project=environment.project,
          dependencies=filename,
      ) as exp:
          exp.sync()
  
          exp["source_code/requirements"].download("requirements.txt")
  
      with open("requirements.txt", "r") as file:
          assert file.read() == "some-dependency==1.0.0"
  
imports: import pytest
  import neptune
  from neptune.exceptions import NeptuneModelKeyAlreadyExistsError
  from neptune.metadata_containers import Model, Project
  from neptune.types import GitRef
  from tests.e2e.base import AVAILABLE_CONTAINERS, BaseE2ETest, fake
  from tests.e2e.utils import initialize_container, reinitialize_container, with_check_if_file_appears
label_desc: Use image node_id 6 for calling the TestInitRun obj's underlying member method code with example usage: obj.test_upload_dependency_file(environment) without return types