-
Notifications
You must be signed in to change notification settings - Fork 321
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[pytx] change unittest to pytest (#1690)
- Loading branch information
1 parent
ed144f7
commit 65c92ce
Showing
2 changed files
with
24 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,7 @@ | ||
# Copyright (c) Meta Platforms, Inc. and affiliates. | ||
|
||
import unittest | ||
|
||
import threatexchange.common | ||
|
||
|
||
class TestCommon(unittest.TestCase): | ||
def test_camel_case_to_underscore(self): | ||
assert threatexchange.common.camel_case_to_underscore("AbcXyz") == "abc_xyz" | ||
def test_camel_case_to_underscore(): | ||
assert threatexchange.common.camel_case_to_underscore("AbcXyz") == "abc_xyz" |