Category: Open Source

Testing with unittest.mock

Testing with unittest.mock

Hello! Just 10 days back, there was a time when I tweet this.

While I always found it difficult, some people say writing mock test is super easy. I think it’s time for me to code more modular.

After a week of making the tweet, I set myself to read the official documentation with patience. The more I read, the more I started liking the tool. In the end, I understand people were right in saying that “mock tests are easy”. Below is a quick overview of what I could understand of writing mock test cases.

Continue reading “Testing with unittest.mock”

My experience with Linux CLI

My experience with Linux CLI

Hey! With this post, I am sharing my experience with Linux command line interface.

Before I learned about what is Linux and what is CLI, I couldn’t imagine myself working on a computer without any mouse and GUI. But, when I started learning Linux about a year ago, then CLI was something that sought my attention and I started to learn it. Continue reading “My experience with Linux CLI”

A new learning curve @dgplug

A new learning curve @dgplug

Hey all! I have been attending dgplug summer training this year. And it’s been a wonderful experience going on. I have attended all the sessions so far and could imagine the magnitude of knowledge I would be learning as the training continues. Let me tell you how this summer training is turning out to be a new learning curve for me. Continue reading “A new learning curve @dgplug”

How to clone a large mercurial repository?

How to clone a large mercurial repository?

Howdy readers! Have you ever experienced a condition in which you find yourself cloning a large repository and unfortunately lost an almost complete clone due to an unreliable network connection?
This experience is even more dreadful when you are having limited data in your internet pack. Let’s find out then, how to clone a large repository in a similar condition when you are unable to completely clone at once? Continue reading “How to clone a large mercurial repository?”