Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias Import alias Import alias identifier FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str With Call NameLoad BoolOpOr NameLoad AttributeLoad NameLoad attr Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore Num Assign NameStore Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str If NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad Call NameLoad attr NameLoad If AttributeLoad AttributeLoad NameLoad attr attr body Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr orelse Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr orelse If NameLoad body Assign AttributeStore NameLoad attr Call NameLoad NameLoad keyword AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Raise NameLoad orelse TryFinally body TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad finalbody Expr Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad NameStore body Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad decorator_list decorator_list
N/A N/A Test helpers. hdfs InsecureClient hdfs.config Config hdfs.util HdfsError nose.plugins.skip SkipTest nose.tools eq_ requests.exceptions ConnectionError six.moves.configparser NoOptionError NoSectionError time sleep N/A os N/A posixpath psp save_config N/A N/A config path N/A None N/A N/A Save configuration to file.

  :param config: :class:`~hdfs.config.Config` instance.

   N/A N/A open N/A path N/A config path w writer N/A N/A N/A N/A config write writer N/A _IntegrationTest N/A object N/A N/A Base class to run tests using remote HDFS.

  These tests are run only if a `HDFSCLI_TEST_ALIAS` or `HDFSCLI_TEST_URL`
  environment variable is defined (the former taking precedence). For safety,
  a suffix is appended to any defined root.

  .. warning::

    The new root directory used is entirely cleaned during tests!

  Also contains a few helper functions.

   N/A client None N/A delay 0.5 N/A root_suffix .hdfscli setup_class N/A N/A cls N/A N/A N/A alias N/A N/A os getenv HDFSCLI_TEST_ALIAS N/A url N/A N/A os getenv HDFSCLI_TEST_URL N/A alias N/A N/A N/A cls client N/A N/A N/A Config get_client alias N/A N/A N/A cls client root N/A N/A N/A N/A cls client root N/A N/A psp join N/A N/A cls client root N/A cls root_suffix N/A N/A N/A N/A cls client root N/A cls root_suffix N/A N/A url N/A N/A N/A cls client N/A InsecureClient url root N/A cls root_suffix N/A classmethod teardown_class N/A N/A cls N/A N/A N/A N/A cls client N/A N/A N/A N/A N/A cls client delete recursive True N/A classmethod setup N/A N/A self N/A N/A N/A N/A N/A self client N/A N/A SkipTest N/A N/A N/A N/A N/A N/A N/A N/A N/A self client delete recursive True N/A N/A N/A ConnectionError N/A N/A N/A N/A N/A self client delete recursive True N/A N/A N/A sleep N/A self delay N/A _read N/A N/A self hdfs_path encoding N/A None N/A N/A N/A N/A N/A self client read hdfs_path encoding encoding reader N/A N/A N/A N/A reader read N/A _exists N/A N/A self hdfs_path N/A N/A N/A N/A bool N/A N/A N/A self client status hdfs_path strict False N/A N/A