[tor-commits] [obfsproxy/master] Remove a broken unittest.

asn at torproject.org asn at torproject.org
Wed Jul 16 15:24:31 UTC 2014


commit 7418e247a720de23131725629135234aba8a299a
Author: George Kadianakis <desnacked at riseup.net>
Date:   Tue Jul 15 16:45:47 2014 +0300

    Remove a broken unittest.
---
 obfsproxy/test/transports/test_scramblesuit.py |    7 -------
 1 file changed, 7 deletions(-)

diff --git a/obfsproxy/test/transports/test_scramblesuit.py b/obfsproxy/test/transports/test_scramblesuit.py
index 0a71080..9cb227f 100644
--- a/obfsproxy/test/transports/test_scramblesuit.py
+++ b/obfsproxy/test/transports/test_scramblesuit.py
@@ -239,13 +239,6 @@ class UtilTest( unittest.TestCase ):
         e = util.getEpoch()
         self.failUnless(isinstance(e, basestring))
 
-    def test6_writeToFile( self ):
-        f = tempfile.mktemp()
-        content = "ThisIsATest\n"
-        util.writeToFile(content, f)
-        self.failUnless(util.readFromFile(f) == content)
-        os.unlink(f)
-
     def test7_readFromFile( self ):
 
         # Read from non-existant file.





More information about the tor-commits mailing list