mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 22:02:23 +01:00
Bazel-ify most of the Python scripts. (#229)
This commit is contained in:
@@ -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