Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Commit

Permalink
Updates from review
Browse files Browse the repository at this point in the history
  • Loading branch information
mforner13 committed May 20, 2021
1 parent d4499a6 commit 82e37fd
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
1 change: 0 additions & 1 deletion cypress/integration/home_page_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ describe('The Home Page', () => {
cy.lastWorkingDay().then(deadline => {
cy.get('li').contains( `You need to complete your monthly update for 5 supply chains by ${deadline}`)
})
cy.get('li').contains('You need to complete your monthly update for 5 supply chains by')
cy.get('li').contains(
'Select a supply chain to provide your regular monthly update or to update wider details.'
)
Expand Down
2 changes: 1 addition & 1 deletion cypress/support/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ Cypress.Commands.add(
Cypress.Commands.add(
'lastWorkingDay',
() => {
cy.exec('python get_last_working_day_this_month.py').then(result => {
cy.exec('env PYTHONPATH=defend_data_capture python defend_data_capture/scripts/get_last_working_day_this_month.py').then(result => {
cy.wrap(result.stdout)
})
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
#!/usr/bin/env python3

from datetime import date

from defend_data_capture.supply_chains.utils import (
from supply_chains.utils import (
get_last_day_of_this_month,
get_last_working_day_of_a_month,
)
Expand Down

0 comments on commit 82e37fd

Please sign in to comment.