Skip to content

Commit

Permalink
update dof rolling sales test
Browse files Browse the repository at this point in the history
  • Loading branch information
aepyornis committed Feb 2, 2018
1 parent 52dc287 commit 5f72149
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Expand Up @@ -20,4 +20,6 @@ docker/sqlpad
docker/postgres-data
postgres-data

modules/hpd-complaints/*.csv
modules/hpd-complaints/*.csv

src/.pytest_cache/
Binary file modified src/tests/integration/data/rollingsales_bronx.xls
Binary file not shown.
Binary file modified src/tests/integration/data/rollingsales_brooklyn.xls
Binary file not shown.
Binary file modified src/tests/integration/data/rollingsales_manhattan.xls
Binary file not shown.
Binary file modified src/tests/integration/data/rollingsales_queens.xls
Binary file not shown.
Binary file modified src/tests/integration/data/rollingsales_statenisland.xls
Binary file not shown.
5 changes: 3 additions & 2 deletions src/tests/integration/test_nycdb.py
Expand Up @@ -123,10 +123,11 @@ def test_dof_sales():
drop_table(conn, 'dof_sales')
dof_sales = nycdb.Dataset('dof_sales', args=ARGS)
dof_sales.db_import()
assert row_count(conn, 'dof_sales') == 140
assert row_count(conn, 'dof_sales') == 70
assert has_one_row(conn, "select 1 where to_regclass('public.dof_sales_bbl_idx') is NOT NULL")
conn.close()


10 + 20 + 10 + 10 + 20
def test_dobjobs():
conn = connection()
drop_table(conn, 'dobjobs')
Expand Down

0 comments on commit 5f72149

Please sign in to comment.