This repository has been archived by the owner on Aug 4, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1399800 - integrate pytest and add initial tests r=jmaher
MozReview-Commit-ID: FNQwCEtM1MB
- Loading branch information
Ionut Goldan
committed
Oct 24, 2017
1 parent
899b429
commit 5f14497
Showing
46 changed files
with
1,552 additions
and
842 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
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import os | ||
|
||
import pytest | ||
|
||
here = os.path.realpath(__file__) | ||
__TESTS_DIR = os.path.join(os.path.dirname(os.path.dirname(here)), 'tests') | ||
|
||
|
||
def remove_develop_files(starting_dir=__TESTS_DIR): | ||
for file_name in os.listdir(starting_dir): | ||
|
||
file_path = os.path.join(starting_dir, file_name) | ||
|
||
if file_name.endswith('.develop') and os.path.isfile(file_path): | ||
os.remove(file_path) | ||
elif os.path.isdir(file_path): | ||
remove_develop_files(file_path) |
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[DEFAULT] | ||
subsuite = talos | ||
|
||
[test_config.py] | ||
[test_ffsetup.py] | ||
[test_test.py] |
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Oops, something went wrong.