equal
deleted
inserted
replaced
698 |
698 |
699 @check("test-repo", "running tests from repository") |
699 @check("test-repo", "running tests from repository") |
700 def has_test_repo(): |
700 def has_test_repo(): |
701 t = os.environ["TESTDIR"] |
701 t = os.environ["TESTDIR"] |
702 return os.path.isdir(os.path.join(t, "..", ".hg")) |
702 return os.path.isdir(os.path.join(t, "..", ".hg")) |
|
703 |
|
704 |
|
705 @check("network-io", "whether tests are allowed to access 3rd party services") |
|
706 def has_test_repo(): |
|
707 t = os.environ.get("HGTESTS_ALLOW_NETIO") |
|
708 return t == "1" |
703 |
709 |
704 |
710 |
705 @check("curses", "terminfo compiler and curses module") |
711 @check("curses", "terminfo compiler and curses module") |
706 def has_curses(): |
712 def has_curses(): |
707 try: |
713 try: |