Coder Social home page Coder Social logo

Comments (7)

Pavan-Nambi avatar Pavan-Nambi commented on May 21, 2024 1

hey @jatinagwal yeah feel free to do so , i got into some work so wasn't able to do , appologies for delay

from gcp_scanner.

Pavan-Nambi avatar Pavan-Nambi commented on May 21, 2024

hey is this issue still exists? if so can i work on this? a try catch blocks? or should i use unittest to keep consistency?

asking this as i see there is unittest.mock alrdy being used here

from gcp_scanner.

mshudrak avatar mshudrak commented on May 21, 2024

Oh yes, the issue still exist. Feel free to work on it. I was actually referring to this one: https://github.com/google/gcp_scanner/blob/main/src/gcp_scanner/test_unit.py. It fails as soon as the first assert is not satisfied. I'd use unittest.mock module to keep consistency.

from gcp_scanner.

Pavan-Nambi avatar Pavan-Nambi commented on May 21, 2024

oo ok gotcha

from gcp_scanner.

jatinagwal avatar jatinagwal commented on May 21, 2024

@Pavan-Nambi Can I pick this up?

from gcp_scanner.

sudiptob2 avatar sudiptob2 commented on May 21, 2024

I am also interested in this issue if it's open.

from gcp_scanner.

sudiptob2 avatar sudiptob2 commented on May 21, 2024

@mshudrak I think its best practice to write single assert per test function. If you agree, I can take on the issue and refactor the tests.
I am looking forward to your opinion 🙂

from gcp_scanner.

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.