mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-15 10:48:34 +00:00
Bazel-ify most of the Python scripts. (#229)
This commit is contained in:
1 parent
4290e1845b
commit
d76f8a1eff
14 files changed
+133
-43
No files matched your search
@@ -10,10 +10,15 @@ import os
|
||||
import unittest
|
||||
from unittest import mock
|
||||
|
||||
from github_tools import pr_comments
|
||||
from carbon.github_tools import github_helpers
|
||||
from carbon.github_tools import pr_comments
|
||||
|
||||
|
||||
class TestPRComments(unittest.TestCase):
|
||||
def setUp(self):
|
||||
# Stub out the access token.
|
||||
os.environ[github_helpers._ENV_TOKEN] = "unused"
|
||||
|
||||
def test_format_comment_short(self):
|
||||
created_at = "2001-02-03T04:05:06Z"
|
||||
self.assertEqual(
|
||||
|
||||
Reference in new issue
Block a user