def test_create_detailed(self):
        sot = snapshot.SnapshotDetail(**DETAILED_SNAPSHOT)

        self.assertEqual(
            DETAILED_SNAPSHOT["os-extended-snapshot-attributes:progress"],
            sot.progress)
        self.assertEqual(
            DETAILED_SNAPSHOT["os-extended-snapshot-attributes:project_id"],
            sot.project_id)
 def test_basic(self):
     sot = snapshot.SnapshotDetail(DETAILED_SNAPSHOT)
     self.assertIsInstance(sot, snapshot.Snapshot)
     self.assertEqual("/snapshots/detail", sot.base_path)