Skip to content

Commit

Permalink
Search - Banish the ALN Columns (#3378)
Browse files Browse the repository at this point in the history
* Banish the ALN columns, for now...

* Return the right results. Disable column tests.
  • Loading branch information
jperson1 authored and purvinptl committed Feb 12, 2024
1 parent 137c664 commit 61b66db
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions backend/dissemination/test_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,32 +327,6 @@ def test_aln_search(self):
results_alns_both = search_alns(results_general_both, params_both)
self.assertEqual(len(results_alns_both), 2)

def test_no_associated_awards(self):
"""
When making an ALN search, there should be no results on a non-existent ALN or on one with no awards under the present conditions.
"""
# General record with one award.
baker.make(
General,
is_public=True,
report_id="2022-04-TSTDAT-0000000001",
audit_year="2024",
)
baker.make(
FederalAward,
report_id="2022-04-TSTDAT-0000000001",
award_reference="2023-0001",
federal_agency_prefix="00",
federal_award_extension="000",
findings_count=1,
)

params = {"alns": ["99"], "audit_years": ["2024"]}
results_general = search_general(params)
results_alns = search_alns(results_general, params)

self.assertEqual(len(results_alns), 0)

@unittest.skip("Skipping while ALN columns are disabled.")
def test_finding_my_aln(self):
"""
Expand Down

0 comments on commit 61b66db

Please sign in to comment.