Skip to content

test : add unit tests for _now_iso helper in platform_resources #2419

Description

@tmdeveloper007

Summary of What Needs to be Done:
Add unit tests for the helper function in . This function returns the current UTC time as an ISO 8601 formatted string.

The existing test file covers , , , and but explicitly does NOT cover .

Changes that Need to be Made:
Create a new test section in (or add to an existing section) for :

  • Import from
  • Test that it returns a string
  • Test that it returns a valid ISO 8601 formatted datetime string (with timezone info)
  • Test that the returned value is close to the current time (within a few seconds)

Impact that it would Provide:

  • Tests that produces correctly formatted, timezone-aware timestamps
  • Ensures the helper can be used reliably for timestamping in database operations

Note: This task is being handled by tmdeveloper007 — please assign to that account when picking it up.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions