Skip to content

Commit

Permalink
Added freeze time to test test_smoke_page_individuals_details
Browse files Browse the repository at this point in the history
  • Loading branch information
szymon-kellton committed Aug 26, 2024
1 parent 28e95c7 commit 02a9cc3
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from django.core.management import call_command

import pytest
from freezegun import freeze_time
from page_object.programme_population.individuals import Individuals
from page_object.programme_population.individuals_details import IndividualsDetails

Expand Down Expand Up @@ -40,6 +41,7 @@ def test_smoke_page_individuals(
assert "Administrative Level 2" in pageIndividuals.getIndividualLocation().text
assert 6 == len(pageIndividuals.getIndividualTableRow())

@freeze_time("2024-08-26")
def test_smoke_page_individuals_details(
self,
create_programs: None,
Expand Down

0 comments on commit 02a9cc3

Please sign in to comment.