[Pkg-privacy-commits] [obfsproxy] 332/353: Remove a broken unittest.

Ximin Luo infinity0 at moszumanska.debian.org
Sat Aug 22 13:02:19 UTC 2015


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch master
in repository obfsproxy.

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.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/obfsproxy.git



More information about the Pkg-privacy-commits mailing list