Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After running the Unit Tests by the first time on Sublime Text, the sys.stdout file logging stops working #10

Open
evandrocoan opened this issue Oct 26, 2018 · 0 comments

Comments

@evandrocoan
Copy link
Owner

reloading plugin debug_tools.logger
reloading plugin debug_tools.utilities
test_helloWordToStdOut (testing.main_unit_tests.StdOutUnitTests) ... 

[testing.main_unit_tests] 19:27:17:0760050 Logging to the file F:\SublimeText\Data\Packages\DebugTools\tests\testing\main_unit_tests.txt
Cleaning testing.main_unit_tests (delete=False) the file: F:\SublimeText\Data\Packages\DebugTools\tests\testing\main_unit_tests.txt
Cleaning testing.main_unit_tests (delete=False) the file: F:\SublimeText\Data\Packages\DebugTools\tests\testing\main_unit_tests.txt
Std out logging capture test!
Contents:
``
Cleaning testing.main_unit_tests (delete=True) the file: F:\SublimeText\Data\Packages\DebugTools\tests\testing\main_unit_tests.txt
FAIL

======================================================================
FAIL: test_helloWordToStdOut (testing.main_unit_tests.StdOutUnitTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "F:\SublimeText\Data\Packages\DebugTools\tests\testing\main_unit_tests.py", line 356, in test_helloWordToStdOut
    self.assertEqual( "Std out logging capture test!", output )
AssertionError: 'Std out logging capture test!' != ''
- Std out logging capture test!
+ 


----------------------------------------------------------------------
Ran 1 test in 0.056s

FAILED (failures=1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant