code: def _test_token_x(self, nrc, token, value):
      nrc = self.make_nrc(nrc)
      if token == "login":
          self.assertEqual(
              nrc.hosts["host.domain.com"], (value, "acct", "pass")
          )
      elif token == "account":
          self.assertEqual(
              nrc.hosts["host.domain.com"], ("log", value, "pass")
          )
      elif token == "password":
          self.assertEqual(
              nrc.hosts["host.domain.com"], ("log", "acct", value)
          )
  
imports: import netrc, os, unittest, sys, textwrap
  from test.support import os_helper
label_desc: Use image node_id 7 for calling the NetrcTestCase obj's underlying member method code with example usage: obj._test_token_x(nrc, token, value) without return types