معرفی شرکت ها


django-unittest-helper-0.3


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Helper package for django unittest
ویژگی مقدار
سیستم عامل -
نام فایل django-unittest-helper-0.3
نام django-unittest-helper
نسخه کتابخانه 0.3
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Md. Masudur Rahman
ایمیل نویسنده masudurhimel@gmail.com
آدرس صفحه اصلی https://github.com/masudurHimel/django_unittest_helper
آدرس اینترنتی https://pypi.org/project/django-unittest-helper/
مجوز MIT
# django_unittest_image_helper An open source package for helping the django unittest journey ## Description A Python library to facilitate the django unittesting journey. ## Installation ``` pip install django-unittest-helper ``` ## Usage #### For getting dummy form-data images for payload during unittesting ```python from django_unittest_helper import form_image_helper payload = form_image_helper(caption_list=['photo', 'map'], image_suffix=".jpg") ``` The above code will return dummy images for api testing. There are 2 parameters for this method- 1. ```caption_list``` : Provide caption titles for the payload in list. 2. ```image_suffix``` : Provide the extension of the images as per your need. #### For generating random phone number ```python from django_unittest_helper import generate_random_phone_no phone_no = generate_random_phone_no(prefix="013", total_digit=11) ``` The above code will return a dummy phone number based on random digits There are 2 parameters for this method- 1. ```prefix``` : Provide the prefix of the operator of phone no 2. ```total_digit```: Provide the total digits of the phone number you need


نیازمندی

مقدار نام
- Pillow


نحوه نصب


نصب پکیج whl django-unittest-helper-0.3:

    pip install django-unittest-helper-0.3.whl


نصب پکیج tar.gz django-unittest-helper-0.3:

    pip install django-unittest-helper-0.3.tar.gz