class_docstr: Tests to check primarily that saving a BO model results in a file without errors.
docstr: Rudimentary test to check the file contents contain something sensible - can add to this but don't want to make it too implementation specific 
docstr_tok: ["Rudimentary","test","to","check","the","file","contents","contain","something","sensible","-","can","add","to","this","but","do","n't","want","to","make","it","too","implementation","specific"]
code: def check_output_model_file(self, contained_strings):
      """Rudimentary test to check the file contents contain something sensible - can add to this but don't want to make it too implementation specific"""
      contents = open(self.outfile_path).read()
      for substring in contained_strings:
          self.assertTrue(substring in contents)
  
file_path: GPyOpt/GPyOpt/testing/core_tests/test_save.py
imports: import unittest
  import numpy
  from GPyOpt.methods import BayesianOptimization
  from GPyOpt.models import GPModel
  import GPy
  import tempfile
  import os
label_desc: Use image node_id 2 for calling the TestSaveModel obj's underlying member method code with example usage: obj.check_output_model_file(contained_strings) without return types