Skip to content

Commit

Permalink
Flatten the directory structure of the rule unit tests (#231)
Browse files Browse the repository at this point in the history
Remove the package directory and move all tests and examples to stdlib
directory.

Signed-off-by: Eric Brown <eric.brown@securesauce.dev>
  • Loading branch information
ericwb committed Jan 26, 2024
1 parent 103403b commit 7c03cda
Show file tree
Hide file tree
Showing 289 changed files with 16 additions and 40 deletions.
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ def setUp(self):
"rules",
"go",
"stdlib",
"crypto",
"examples",
)

Expand All @@ -40,9 +39,9 @@ def test_rule_meta(self):

@parameterized.expand(
[
"weak_cipher_aes.go",
"weak_cipher_des.go",
"weak_cipher_rc4.go",
"crypto_weak_cipher_aes.go",
"crypto_weak_cipher_des.go",
"crypto_weak_cipher_rc4.go",
]
)
def test(self, filename):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ def setUp(self):
"rules",
"go",
"stdlib",
"crypto",
"examples",
)

Expand All @@ -38,12 +37,12 @@ def test_rule_meta(self):

@parameterized.expand(
[
"weak_hash_md5_new.go",
"weak_hash_md5_sum.go",
"weak_hash_sha1_new.go",
"weak_hash_sha1_sum.go",
"weak_hash_sha256_new.go",
"weak_hash_sha256_sum.go",
"crypto_weak_hash_md5_new.go",
"crypto_weak_hash_md5_sum.go",
"crypto_weak_hash_sha1_new.go",
"crypto_weak_hash_sha1_sum.go",
"crypto_weak_hash_sha256_new.go",
"crypto_weak_hash_sha256_sum.go",
]
)
def test(self, filename):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ def setUp(self):
"rules",
"go",
"stdlib",
"crypto",
"examples",
)

Expand All @@ -38,13 +37,13 @@ def test_rule_meta(self):

@parameterized.expand(
[
"weak_key_dsa_1024.go",
"weak_key_dsa_2048.go",
"weak_key_dsa_3072.go",
"weak_key_rsa_1024.go",
"weak_key_rsa_2048.go",
"weak_key_rsa_4096.go",
"weak_key_rsa_bits_as_var.go",
"crypto_weak_key_dsa_1024.go",
"crypto_weak_key_dsa_2048.go",
"crypto_weak_key_dsa_3072.go",
"crypto_weak_key_rsa_1024.go",
"crypto_weak_key_rsa_2048.go",
"crypto_weak_key_rsa_4096.go",
"crypto_weak_key_rsa_bits_as_var.go",
]
)
def test(self, filename):
Expand Down
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ def setUp(self):
"rules",
"python",
"stdlib",
"crypt",
"examples",
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ def setUp(self):
"rules",
"python",
"stdlib",
"ftplib",
"examples",
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ def setUp(self):
"rules",
"python",
"stdlib",
"hashlib",
"examples",
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ def setUp(self):
"rules",
"python",
"stdlib",
"hmac",
"examples",
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ def setUp(self):
"rules",
"python",
"stdlib",
"hmac",
"examples",
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ def setUp(self):
"rules",
"python",
"stdlib",
"imaplib",
"examples",
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ def setUp(self):
"rules",
"python",
"stdlib",
"json",
"examples",
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ def setUp(self):
"rules",
"python",
"stdlib",
"logging",
"examples",
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ def setUp(self):
"rules",
"python",
"stdlib",
"marshal",
"examples",
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ def setUp(self):
"rules",
"python",
"stdlib",
"nntplib",
"examples",
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ def setUp(self):
"rules",
"python",
"stdlib",
"pickle",
"examples",
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ def setUp(self):
"rules",
"python",
"stdlib",
"poplib",
"examples",
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ def setUp(self):
"rules",
"python",
"stdlib",
"shelve",
"examples",
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ def setUp(self):
"rules",
"python",
"stdlib",
"smtplib",
"examples",
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ def setUp(self):
"rules",
"python",
"stdlib",
"ssl",
"examples",
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ def setUp(self):
"rules",
"python",
"stdlib",
"ssl",
"examples",
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ def setUp(self):
"rules",
"python",
"stdlib",
"ssl",
"examples",
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ def setUp(self):
"rules",
"python",
"stdlib",
"ssl",
"examples",
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ def setUp(self):
"rules",
"python",
"stdlib",
"ssl",
"examples",
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ def setUp(self):
"rules",
"python",
"stdlib",
"telnetlib",
"examples",
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ def setUp(self):
"rules",
"python",
"stdlib",
"tempfile",
"examples",
)

Expand Down

0 comments on commit 7c03cda

Please sign in to comment.