Rename the project to Eris.
This commit is contained in:
parent
a060c7f3ae
commit
8e5cc0eac9
34 changed files with 109 additions and 112 deletions
|
|
@ -14,8 +14,8 @@ import unittest
|
|||
os.environ["TERM"] = "xterm-256color"
|
||||
|
||||
import golden
|
||||
import vigil.fill3 as fill3
|
||||
import vigil.__main__ as __main__
|
||||
import eris.fill3 as fill3
|
||||
import eris.__main__ as __main__
|
||||
|
||||
|
||||
_DIMENSIONS = (100, 60)
|
||||
|
|
@ -226,7 +226,7 @@ class MainTestCase(unittest.TestCase):
|
|||
is_being_tested=True)
|
||||
for file_name in ["summary.pickle", "creation_time", "log",
|
||||
"foo-metadata", "foo-contents"]:
|
||||
self.assertTrue(os.path.exists(".vigil/" + file_name))
|
||||
self.assertTrue(os.path.exists(".eris/" + file_name))
|
||||
self.assertEqual(_mount_total(), mount_total)
|
||||
# self.assertEqual(_tmp_total(), tmp_total)
|
||||
temp_dir = tempfile.mkdtemp()
|
||||
|
|
|
|||
|
|
@ -6,8 +6,8 @@
|
|||
|
||||
import unittest
|
||||
|
||||
import vigil.fill3 as fill3
|
||||
import vigil.termstr as termstr
|
||||
import eris.fill3 as fill3
|
||||
import eris.termstr as termstr
|
||||
|
||||
|
||||
class WidgetTests(unittest.TestCase):
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
(B[m[38;2;255;255;255m[48;2;0;0;0m┌────────────────────────────────────────────── Help ──────────────────────────────────────────────┐
|
||||
│Vigil Code Monitor │
|
||||
│Eris Code Monitor │
|
||||
│ │
|
||||
│Vigil maintains an up-to-date set of reports for every file in a codebase. │
|
||||
│Eris maintains an up-to-date set of reports for every file in a codebase. │
|
||||
│ │
|
||||
│A status indicator summarises the state of each report, and a report is viewed │
|
||||
│by selecting this status indicator with the cursor. │
|
||||
│ │
|
||||
│The reports are cached in the codebase's root directory in a ".vigil" │
|
||||
│The reports are cached in the codebase's root directory in a ".eris" │
|
||||
│directory. │
|
||||
│ │
|
||||
│Keys: │
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#[31m===#[0mSORRY!#[31m===#[0m
|
||||
Two terms in a row across lines (missing semicolon or comma?)
|
||||
at /tmp/vigil/golden-files/./input/perl6.p6:30
|
||||
at /tmp/eris/golden-files/./input/perl6.p6:30
|
||||
------> #[32msay 'Hello from Perl 6!'#[33m⏏#[31m<EOL>#[0m
|
||||
expecting any of:
|
||||
infix
|
||||
|
|
@ -11,6 +11,6 @@ at /tmp/vigil/golden-files/./input/perl6.p6:30
|
|||
statement modifier loop
|
||||
Other potential difficulties:
|
||||
Useless declaration of a has-scoped method in mainline (did you mean 'my regex http-verb'?)
|
||||
at /tmp/vigil/golden-files/./input/perl6.p6:11
|
||||
at /tmp/eris/golden-files/./input/perl6.p6:11
|
||||
------> #[32mregex #[33m⏏#[31mhttp-verb {#[0m
|
||||
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
#[31m===#[0mSORRY!#[31m===#[0m
|
||||
Two terms in a row across lines (missing semicolon or comma?)
|
||||
at /tmp/vigil/golden-files/./input/perl6.pl:30
|
||||
at /tmp/eris/golden-files/./input/perl6.pl:30
|
||||
------> #[32msay 'Hello from Perl 6!'#[33m⏏#[31m<EOL>#[0m
|
||||
expecting any of:
|
||||
infix
|
||||
|
|
@ -11,6 +11,6 @@ at /tmp/vigil/golden-files/./input/perl6.pl:30
|
|||
statement modifier loop
|
||||
Other potential difficulties:
|
||||
Useless declaration of a has-scoped method in mainline (did you mean 'my regex http-verb'?)
|
||||
at /tmp/vigil/golden-files/./input/perl6.pl:11
|
||||
at /tmp/eris/golden-files/./input/perl6.pl:11
|
||||
------> #[32mregex #[33m⏏#[31mhttp-verb {#[0m
|
||||
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
import textwrap
|
||||
import unittest
|
||||
|
||||
import vigil.gut as gut
|
||||
import eris.gut as gut
|
||||
|
||||
|
||||
class GutTestCase(unittest.TestCase):
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ import subprocess
|
|||
import tempfile
|
||||
import unittest
|
||||
|
||||
import vigil.lscolors as lscolors
|
||||
import eris.lscolors as lscolors
|
||||
|
||||
|
||||
class TempDirTestCase(unittest.TestCase):
|
||||
|
|
|
|||
|
|
@ -9,8 +9,8 @@ import unittest
|
|||
|
||||
os.environ["TERM"] = "xterm-256color"
|
||||
|
||||
from vigil.termstr import TermStr, CharStyle
|
||||
import vigil.termstr as termstr
|
||||
from eris.termstr import TermStr, CharStyle
|
||||
import eris.termstr as termstr
|
||||
|
||||
|
||||
class CacheFirstResultTestCase(unittest.TestCase):
|
||||
|
|
|
|||
|
|
@ -12,12 +12,12 @@ import unittest.mock
|
|||
os.environ["TERM"] = "xterm-256color"
|
||||
|
||||
import golden
|
||||
import vigil.fill3 as fill3
|
||||
import vigil.tools as tools
|
||||
import eris.fill3 as fill3
|
||||
import eris.tools as tools
|
||||
|
||||
|
||||
os.environ["TZ"] = "GMT"
|
||||
VIGIL_ROOT = os.path.dirname(__file__)
|
||||
ERIS_ROOT = os.path.dirname(__file__)
|
||||
|
||||
|
||||
class ExecutablesTestCase(unittest.TestCase):
|
||||
|
|
@ -47,11 +47,11 @@ def chdir(path):
|
|||
|
||||
def result_path(tool, input_filename):
|
||||
filename = tool.__name__ + "-" + input_filename.replace(".", "_")
|
||||
return os.path.join(VIGIL_ROOT, "golden-files", "results", filename)
|
||||
return os.path.join(ERIS_ROOT, "golden-files", "results", filename)
|
||||
|
||||
|
||||
def run_tool(tool, input_filename):
|
||||
with chdir(os.path.join(VIGIL_ROOT, "golden-files")):
|
||||
with chdir(os.path.join(ERIS_ROOT, "golden-files")):
|
||||
return tool(os.path.join(".", "input", input_filename))
|
||||
|
||||
|
||||
|
|
@ -222,9 +222,6 @@ class ToolsTestCase(unittest.TestCase):
|
|||
self._test_tool(tools.pil, [("circle." + extension,
|
||||
tools.Status.normal)])
|
||||
|
||||
def test_pil_half(self):
|
||||
self._test_tool(tools.pil_half, [("circle.png", tools.Status.normal)])
|
||||
|
||||
|
||||
class LruCacheWithEvictionTestCase(unittest.TestCase):
|
||||
|
||||
|
|
|
|||
|
|
@ -10,8 +10,8 @@ import shutil
|
|||
import tempfile
|
||||
import unittest
|
||||
|
||||
import vigil.tools as tools
|
||||
import vigil.worker as worker
|
||||
import eris.tools as tools
|
||||
import eris.worker as worker
|
||||
|
||||
|
||||
class WorkerTestCase(unittest.TestCase):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue