mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-07 14:48:25 -04:00
Update excel-based upload files
This commit is contained in:
2
Pipfile
2
Pipfile
@@ -31,7 +31,7 @@ pytz = "==2022.1"
|
|||||||
rtreelib = "==0.2.0"
|
rtreelib = "==0.2.0"
|
||||||
werkzeug = "==2.1.2"
|
werkzeug = "==2.1.2"
|
||||||
wtforms = "==3.0.1"
|
wtforms = "==3.0.1"
|
||||||
notifications-utils = {editable = true, ref = "main", git = "https://github.com/GSA/notifications-utils"}
|
notifications-utils = {editable = true, ref = "main", git = "https://github.com/GSA/notifications-utils.git"}
|
||||||
|
|
||||||
[dev-packages]
|
[dev-packages]
|
||||||
isort = "==5.10.1"
|
isort = "==5.10.1"
|
||||||
|
|||||||
4
Pipfile.lock
generated
4
Pipfile.lock
generated
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"_meta": {
|
"_meta": {
|
||||||
"hash": {
|
"hash": {
|
||||||
"sha256": "301614ec2e4911b6992dbbab196ccc938da3205f1a14e4472afc2b0c65957c93"
|
"sha256": "407f000846ac854dc6648aa384fa90a5ab5577c2f0a90d7b7e4285347c47f091"
|
||||||
},
|
},
|
||||||
"pipfile-spec": 6,
|
"pipfile-spec": 6,
|
||||||
"requires": {
|
"requires": {
|
||||||
@@ -575,7 +575,7 @@
|
|||||||
},
|
},
|
||||||
"notifications-utils": {
|
"notifications-utils": {
|
||||||
"editable": true,
|
"editable": true,
|
||||||
"git": "https://github.com/GSA/notifications-utils",
|
"git": "https://github.com/GSA/notifications-utils.git",
|
||||||
"ref": "d88d48026171991de4d8398e5f9f8c2063297885"
|
"ref": "d88d48026171991de4d8398e5f9f8c2063297885"
|
||||||
},
|
},
|
||||||
"numpy": {
|
"numpy": {
|
||||||
|
|||||||
@@ -343,8 +343,7 @@ def test_example_spreadsheet(
|
|||||||
|
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
"filename, acceptable_file, expected_status",
|
"filename, acceptable_file, expected_status",
|
||||||
# TODO update the excel files with expected phone numbers
|
list(zip(test_spreadsheet_files, repeat(True), repeat(302))) +
|
||||||
# list(zip(test_spreadsheet_files, repeat(True), repeat(302))) +
|
|
||||||
list(zip(test_non_spreadsheet_files, repeat(False), repeat(200)))
|
list(zip(test_non_spreadsheet_files, repeat(False), repeat(200)))
|
||||||
)
|
)
|
||||||
def test_upload_files_in_different_formats(
|
def test_upload_files_in_different_formats(
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user