Skip to content

Instantly share code, notes, and snippets.

View romaad's full-sized avatar
looking 4 open source projects

Mohamed Said romaad

looking 4 open source projects
View GitHub Profile
igniteflow /
Created October 3, 2016 11:03
How to mock an object property in Python
import mock
with mock.patch('', new_callable=mock.PropertyMock) as mock_my_property:
mock_my_property.return_value = 'my value'

tmux cheatsheet

As configured in my dotfiles.

start new:


start new with session name: