code: def test_status_partitionkey() -> None:
      assert StatusPartitionKey.key == "status"
      assert StatusPartitionKey.type_ == NotificationStatus
  
      result1 = StatusPartitionKey.with_obj(NotificationStatus.UNREAD)
      result2 = StatusPartitionKey.with_obj(NotificationStatus.READ)
  
      assert result1.type_ == NotificationStatus
      assert result1.key == "status"
      assert result1.value == NotificationStatus.UNREAD
      assert result2.type_ == NotificationStatus
      assert result2.key == "status"
      assert result2.value == NotificationStatus.READ
  
      notification_expiry_status_auto = NotificationExpiryStatus(0)
  
      with pytest.raises(AttributeError):
          StatusPartitionKey.with_obj(notification_expiry_status_auto)
  
imports: import pytest
  from pytest import MonkeyPatch
  from result import Err
  from syft.node.credentials import SyftSigningKey
  from syft.node.credentials import SyftVerifyKey
  from syft.service.notification.notification_stash import OrderByCreatedAtTimeStampPartitionKey
  from syft.service.notification.notification_stash import FromUserVerifyKeyPartitionKey
  from syft.service.notification.notification_stash import NotificationStash
  from syft.service.notification.notification_stash import StatusPartitionKey
  from syft.service.notification.notification_stash import ToUserVerifyKeyPartitionKey
  from syft.service.notification.notifications import Notification
  from syft.service.notification.notifications import NotificationExpiryStatus
  from syft.service.notification.notifications import NotificationStatus
  from syft.types.datetime import DateTime
  from syft.types.uid import UID
label_desc: Use image node_id 4 for calling a global function with example usage: test_status_partitionkey() without return types