-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix SyntaxError in gmail_oauth2 (#873)
* fix dep specs * fix SyntaxError in gmail_oauth2 SyntaxError: from __future__ imports must occur at the beginning of the file
- Loading branch information
1 parent
35ea250
commit 7d3c6f5
Showing
4 changed files
with
30 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
"""Tests that issues encountered in conda-forge builds don't recur.""" | ||
|
||
import subprocess | ||
import sys | ||
|
||
|
||
def test_otter_bin(): | ||
"""Tests that the ``otter`` binary works.""" | ||
subprocess.run([sys.executable, "-m", "otter", "--help"], check=True) | ||
|
||
|
||
def test_gmail_oauth2_bin(): | ||
"""Tests that the ``gmail_oauth2`` binary works.""" | ||
res = subprocess.run( | ||
[ | ||
sys.executable, | ||
"-m", | ||
"otter.plugins.builtin.gmail_notifications.bin.gmail_oauth2", | ||
"--help", | ||
], | ||
check=True, | ||
) |