• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

omaciel / fauxfactory
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: v2.1.2
DEFAULT BRANCH: master
Repo Added 23 Apr 2014 05:50PM UTC
Files 2
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH deprecated
branch: deprecated
CHANGE BRANCH
x
Reset
  • deprecated
  • fix-issue-30
  • issue-26
  • master
  • python2
  • python3
  • refactor-string-length
  • simpler-backcompat
  • v0.2.0
  • v0.2.1
  • v0.3.0
  • v0.3.1
  • v1.0.0
  • v1.0.1
  • v2.0.0
  • v2.0.1
  • v2.0.2
  • v2.0.3
  • v2.0.4
  • v2.0.5
  • v2.0.8
  • v2.0.9
  • v2.1.0
  • v2.1.1
  • v2.1.2

pending completion
170

push

travis-ci

omaciel
Display deprecation warning for ``FauxFactory``.

Now when someone imports ``FauxFactory`` and uses any of its 'older'
functions, a deprecation warning message will be displayed as shown
below:

```python
In [1]: from fauxfactory import FauxFactory
fauxfactory/__init__.py:723: Warning: The FauxFactory class is deprecated. Please use functions from the fauxfactory module instead.
  category=Warning)

In [2]: FauxFactory.generate_alpha()
fauxfactory/__init__.py:696: Warning: Function generate_alpha is now deprecated! Please update your your code to use the gen_alpha function instead.
  warnings.warn(warn_message.format(name, new_name), category=Warning)
Out[2]: u'miRSshikjd'
```

Tests included. Closes #51.

320 of 321 relevant lines covered (99.69%)

2.96 hits per line

Relevant lines Covered
Build:
Build:
321 RELEVANT LINES 320 COVERED LINES
2.96 HITS PER LINE
Source Files on deprecated
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
170 deprecated Display deprecation warning for ``FauxFactory``. Now when someone imports ``FauxFactory`` and uses any of its 'older' functions, a deprecation warning message will be displayed as shown below: ```python In [1]: from fauxfactory import FauxFactor... push 30 Sep 2014 08:55PM UTC omaciel travis-ci pending completion  
168 deprecated Display deprecation warning for ``FauxFactory``. Now when someone imports ``FauxFactory`` and uses any of its 'older' functions, a deprecation warning message will be displayed as shown below: ```python In [1]: from fauxfactory import FauxFactor... push 30 Sep 2014 08:27PM UTC omaciel travis-ci pending completion  
166 deprecated Display deprecation warning for ``FauxFactory``. Now when someone imports ``FauxFactory`` and uses any of its 'older' functions, a deprecation warning message will be displayed as shown below: ```python In [1]: from fauxfactory import FauxFactor... push 30 Sep 2014 08:06PM UTC omaciel travis-ci pending completion  
See All Builds (227)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc