[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 7418e247a720de23131725629135234aba8a299a
Author: George Kadianakis <desnacked@xxxxxxxxxx>
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.



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits