Skip to content

Commit

Permalink
Clean up redundant test naming in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jadchaar committed May 16, 2020
1 parent 9c7df69 commit 79f59f4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/test_filing_url_retrieval.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from sec_edgar_downloader._utils import get_filing_urls_to_download


def test_filing_url_retrieval_large_number_of_filings():
def test_large_number_of_filings():
filing_type = "8-K"
ticker = "AAPL"
after_date = None
Expand Down Expand Up @@ -67,7 +67,7 @@ def test_filing_url_retrieval_large_number_of_filings():
@pytest.mark.parametrize(
"filing_type", ["4", "8-K", "10-K", "10-Q", "SC 13G", "SD", "DEF 14A"]
)
def test_filing_url_retrieval_common_filings(filing_type):
def test_common_filings(filing_type):
# AAPL files 4, 8-K, 10-K, 10-Q, SC 13G, SD, DEF 14A
ticker = "AAPL"
num_filings_to_download = 1
Expand All @@ -87,7 +87,7 @@ def test_filing_url_retrieval_common_filings(filing_type):


@pytest.mark.parametrize("filing_type", ["13F-NT", "13F-HR"])
def test_filing_url_retrieval_13f_filings(filing_type):
def test_13f_filings(filing_type):
# Vanguard files 13F-NT, 13F-HR
ticker = "0000102909"
num_filings_to_download = 1
Expand All @@ -106,7 +106,7 @@ def test_filing_url_retrieval_13f_filings(filing_type):
assert len(filings_to_download) == 1


def test_filing_url_retrieval_10ksb_filings():
def test_10ksb_filings():
# Ubiquitech files 10KSB
ticker = "0001411460"
filing_type = "10KSB"
Expand All @@ -126,7 +126,7 @@ def test_filing_url_retrieval_10ksb_filings():
assert len(filings_to_download) == 1


def test_filing_url_retrieval_s1_filings():
def test_s1_filings():
# Cloudflare filed an S-1 during its IPO
ticker = "NET"
filing_type = "S-1"
Expand All @@ -146,7 +146,7 @@ def test_filing_url_retrieval_s1_filings():
assert len(filings_to_download) == 1


def test_filing_url_retrieval_20f_filings():
def test_20f_filings():
# Alibaba files 20-F
ticker = "BABA"
filing_type = "20-F"
Expand Down

0 comments on commit 79f59f4

Please sign in to comment.