Coder Social home page Coder Social logo

Integration Tests about hyper HOT 16 CLOSED

python-hyper avatar python-hyper commented on July 18, 2024
Integration Tests

from hyper.

Comments (16)

shazow avatar shazow commented on July 18, 2024

\o/

from hyper.

Lukasa avatar Lukasa commented on July 18, 2024

Stolen wholesale, with some thankyous in the code.

from hyper.

piotr-dobrogost avatar piotr-dobrogost commented on July 18, 2024

Wholesale? It looks like it could be extracted into its own lib then :)

from hyper.

Lukasa avatar Lukasa commented on July 18, 2024

I made a few changes to fit with py.test: the urllib3 ones are built for nose and so needed a few tiny changes. I also needed to do more SSL stuff for my exact case. =)

from hyper.

shazow avatar shazow commented on July 18, 2024

Extracting into its own lib is something I'd love to see, if you feel it's worthwhile. :)

from hyper.

Lukasa avatar Lukasa commented on July 18, 2024

I suppose if they were alway unittest style classes that might keep working on py.test.

from hyper.

piotr-dobrogost avatar piotr-dobrogost commented on July 18, 2024

They should. I guess it would be handy if urllib3 moved either to py.test or unittest :)

from hyper.

Lukasa avatar Lukasa commented on July 18, 2024

That's a big job for @shazow and not really one I want to make him do ahead of time. py.test should be able to handle unittest.Testcase classes, IIRC.

from hyper.

shazow avatar shazow commented on July 18, 2024

FWIW I am very open to migrating the tests if it helps standardize things and make them less proprietary.

Would be neat to build a generic http socket-level test suite that we can both use.

from hyper.

Lukasa avatar Lukasa commented on July 18, 2024

Yeah, I'd like that.

If I do a pretty minor hyper refactor I can remove my current requirement that I have to wrap TLS around my sockets, and then we could probably share this pretty easily.

from hyper.

sigmavirus24 avatar sigmavirus24 commented on July 18, 2024

We should start an organization for these kind of utilities, store it there and maintain and release the test software.

from hyper.

Lukasa avatar Lukasa commented on July 18, 2024

I'm very definitely open to doing something like that. =)

from hyper.

shazow avatar shazow commented on July 18, 2024

IMO an organization is overkill. A stand-alone project, sure. :)

from hyper.

sigmavirus24 avatar sigmavirus24 commented on July 18, 2024

I'm trying to collect all of the organizations @shazow ... Why don't you want me to collect all of them?

from hyper.

shazow avatar shazow commented on July 18, 2024

I'm a member of too many dead orgs. :p Remember "core", @kennethreitz?
On Feb 15, 2014 11:17 AM, "Ian Cordasco" [email protected] wrote:

I'm trying to collect all of the organizations @shazowhttps://github.com/shazow... Why don't you want me to collect all of them?

Reply to this email directly or view it on GitHubhttps://github.com//issues/7#issuecomment-35164930
.

from hyper.

sigmavirus24 avatar sigmavirus24 commented on July 18, 2024

So what's one more? (At this point I'm just kidding around)

from hyper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.