code: def testGraphAttributes(self):
      g = Graph.Full(5)
      g["date"] = "2005-12-17"
      self.assertTrue(g["date"] == "2005-12-17")
      del g["date"]
      self.assertRaises(KeyError, g.__getitem__, "date")
  
imports: import unittest
  from igraph import Graph
label_desc: Use image node_id 1 for calling the AttributeTests obj's underlying member method code with example usage: obj.testGraphAttributes() without return types