class_docstr: Tests included here all pertain to the NiftyNet global configuration
  file and `NiftyNetGlobalConfig` is a singleton. These require each test
  to be run separately. This is why all tests are decorated with
  `skipUnless`.
class_docstr_tok: ["Tests","included","here","all","pertain","to","the","NiftyNet","global","configuration","file","and","`","NiftyNetGlobalConfig","`","is","a","singleton",".","These","require","each","test","to","be","run","separately",".","This","is","why","all","tests","are","decorated","with","`","skipUnless","`","."]
docstr: Append file type extension to passed file path.
docstr_tok: ["Append","file","type","extension","to","passed","file","path","."]
code: def typify(cls, file_path):
      """Append file type extension to passed file path."""
      return ".".join([file_path, cls.file_type])
  
imports: from glob import glob
  from os import remove, makedirs
  from os.path import expanduser, join, isdir, isfile
  from os.path import getmtime
  from shutil import rmtree
  from unittest import TestCase
  from niftynet.utilities.niftynet_global_config import NiftyNetGlobalConfig
label_desc: Use image node_id 1 for calling the NiftyNetGlobalConfigTestBase obj's underlying member method code with example usage: obj.typify(cls, file_path) and returns: str